Federal legislation could reshape how utilities finance generation and grid upgrades for hyperscale projects as regulators confront the risks of uncertain future electricity demand forecasts.