AI is a threat to Google's main business of advertising (primarily through search). They're on the AI bandwagon because otherwise their stock price will plummet but they're secretly hoping the AI bubble will pop and they can go back to showing ads full time.