Ban private fossil generators above a certain size without a license. You can just do things. They can build as much solar and batteries as they want.
https://www.datacenterdynamics.com/en/news/google-confirms-1...
https://www.datacenterdynamics.com/en/news/google-announces-...
SpaceX is running a bunch of “portable”, high pollution gas generators in Memphis, TN specifically to get around the regulation you’re describing.
Elon definitely got the “you can just do things” memo.