Amazon generates a lot of cash from sales, but it also spends just as quickly to expand its AI and cloud computing operations. Here’s how much money it makes.