Google let OpenAI take the lead in the AI race — now, it's mounting a comeback.