They were spending the profit from each user, not making a loss on each user.
It's a big difference.
To turn a profit all AMZN had to do was stop spending (and the consumers would not have been affected by the halting of spending).
For the AI providers, to turn a profit they have to raise the price.