The Pentagon has classified Anthropic under a risk designation affecting its potential government contracts.