Cloud computing is really a money printer right now. Amazon makes more from AWS than from their retail business, it's nearly 2/3rds of their profit.
I mean that's been the case for like a decade (maybe not 2/3rds but AWS eclipses amazon.com long ago)
Retail is just a bad business. The ad business is many times more profitable than cloud business because of the margins. Cloud isn’t a money printer when compared to advertising.