AI startup Anthropic said on Wednesday it would invest $50 billion in building data centers in the U.S. as the company races to build out its artificial intelligence infrastructure.