After ChatGPT blindsided Google 2022 and turned OpenAI into the face of generative AI, Google spent three years working to regain its footing.