Earlier quoted context omitted.
The solution is simple: require datacenters to overprovision solar panels and grid-scale batteries for themselves, and use that capacity to strengthen the grid and transition off of hydrocarbons.
You can’t get a grid tie for those panels in most of the US right now. The process for connecting to the grid is done serially, and requires a large study for any new generation.
My state allowed the power utilities to charge a modest fee ($10,000 to $100,000, depending on project size) before a yet-to-be-built data centre could demand a large amount of electricity. The amount of planned data centres went down by an order of magnitude. The truth is that most of the data centre builders (not all) do not want to be responsible citizens and are simply extracting value and wealth from other people, including from the power utilities and grid operators.