Amazon, the e-commerce giant, is investing up to $4 billion in Anthropic, an artificial intelligence startup. This investment is part…