Google is planning to invest up to $40 billion in Anthropic, the AI firm confirmed, expanding a long-standing alliance between the two companies. The investment builds on a partnership in which Anthropic will use custom Google chips and cloud computing services to power its technology.