A Pentagon spokesperson told NBC News that it is reviewing its relationship with Anthropic.