The Pentagon has issued an ultimatum to end its partnership with Anthropic, whose technology is currently used by the military.