Anthropic’s announcement comes amid growing backlash against rival OpenAI over its partnership with the US government.