The AI boom has hit a funding snag, compounding power constraints and a growing public backlash against data centers.