As part of the partnership, Microsoft will invest up to $5 billion in Anthropic and Nvidia will invest up to $10 billion.