Amazon has agreed to invest up to $25 billion in Anthropic, the San Francisco-based AI startup behind the Claude family…