The Defense Department designated Anthropic as a risk to U.S. national security, the first time an American company had been hit with that designation.