The data centers are being paid for by customers, who are receiving greater value from the products than they pay for them.
You seem to be assuming an always-rational market, run by the mythical homo economicus.
But as they say "the market can remain irrational longer than you can stay solvent." You can't infer that a set of decisions is rational just because market participants made them.
(which of course would need to account for the cost to the end user of constant rug-pulling, enshitification, github struggling to maintain one 9 of availability, privacy invasion, rampant mental health issues and political division from profit-based social media, etc)
People are conflating destructive and productive activities. These are fundamentally different.