Mr Hegseth delivered an ultimatum to Anthropic: get on board or the government would take drastic action.