Big Tech’s AI spending is colliding with power shortages, rising memory costs and underused chips. The next competitive advantage may come from efficiency.