The standard narrative on air pollution in China is that they had to act to clean it up as it was causing unrest amongst the population.
I don't see why the same couldn't happen if they let datacentres drive up energy costs or have other widespread impacts.