Google’s cloud boom is testing the company's commitment to frontier AI as commercial returns take priority.