Google and Meta are challenging Anthropic and OpenAI at the AI frontier.