Google is already an investor in Anthropic, and the fresh investment would underscore a ramp-up in its efforts to better compete with Microsoft, a major backer of ChatGPT creator OpenAI, as Big Tech companies race to infuse AI into their applications.