Amazon is spending less on warehouses — and more on AI and its cloud business

Amazon is competing hard in the AI arms race. It says it's got the resources to help customers deploy the technology and is investing in even more.