Wall Street closes higher as Amazon's earnings ease AI-spending worries, offsetting Apple's decline

Amazon's results calmed investor jitters over AI spending, pushing the Nasdaq 100 higher even as Apple shares fell.