Amazon is pouring billions into AI infrastructure. Its cloud boss says the company feels "quite good" about its strategy.