The Pentagon has banned access to the AI chatbot DeepSeek due to data privacy risks and its connection to Chinese servers.