Delays in U.S. grid connections and rising AI energy demands are driving data centers to invest in on-site generation.