This is a classic tragedy of the commons. That's a good place to draw the line.
The original example was overfishing. Each fishing boat has little effect on the overall fish population. Regardless of what the others do, each one ends up with more money catching as many fish as it can. But when they all do that, then the fish population collapses, which is not the outcome any of them prefer.
When they cooperate instead by regulating how many fish each can catch, they can avoid population collapse and everybody's happy.
This is why we regulate things. In the other direction it's why we pay taxes for public goods. Solving these collective action problems is one of the main purposes of government.
I don't think this topic fits into the tragedy of the commons. The concern raised wasn't that AI data venters are using too much energy, it was that they aren't sourcing enough of it from solar.