Microsoft and Amazon, once merely investors in OpenAI and Anthropic, are now competing by making their own models.