As AI giants chase explosive growth, surging costs and energy demands threaten to upend the industry’s high-stakes gamble.