Amazon's growth outlook gets a boost from AI, cloud, and ads, but rising costs, debt, and fierce competition could weigh on margins ahead.