Amazon stock surged in after-hours trading after the company reported stronger-than-expected second-quarter earnings, driven by robust AWS growth and rising demand for AI infrastructure. Investors remained optimistic despite softer revenue guidance, as Amazon continued to expand its cloud and artificial intelligence investments.