The Pentagon has awarded contracts to several leading US artificial intelligence firms, including Elon Muskโs xAI, despite the company coming under fire recently for offensive content generated by its chatbot Grok.Announced on Monday, the contracts with xAI, Anthropic, Google, and OpenAI each carry a ceiling value of $200 million, according to the Pentagonโs chief digital and artificial intelligence office (CDAO).The awards aim to allow the department of defense โto leverage the technology and talent of US frontier AI companies to develop agentic AI workflows across a variety of mission areas,โ the CDAO said in a statement, quoted by AFP.xAIโs inclusion follows renewed criticism of the company over Grokโs controversial responses, which surfaced after a July 7 update. The chatbot had praised Adolf Hitler, condemned โanti-white hate,โ and claimed Jewish representation in Hollywood was โdisproportionate.โ xAI has since apologised and said it corrected the instructions that led to those outputs.The latest version, Grok 4, released on Wednesday, also drew scrutiny after appearing to mirror Elon Muskโs views in some of its responses.The contract award comes even asMusk remains locked in a public spat with US President Donald Trump. Though Musk had been a key supporter of Trumpโs recent presidential campaign and was tasked with leading the cost-cutting agency Doge, he stepped down in May. He later criticised Trumpโs major budget bill, accusing it of inflating government debt, prompting a series of heated public and social media exchanges. Musk eventually apologised for some of his more aggressive remarks.Despite the tension, the government and defence sector is being seen as a promising new frontier for AI firms.xAI, on Monday, announced the launch of its โGrok for Governmentโ service, following a similar initiative from OpenAI. With its name now added to an official supplier list, xAI said all federal departments and agencies can now procure its products.Elsewhere, Meta has teamed up with defence start-up Anduril to develop virtual reality headsets for military and police use.OpenAI had already secured a Pentagon deal in June, also capped at $200 million.โEstablishing these partnerships will broaden DoD use of and experience in frontier AI capabilities and increase the ability of these companies to understand and address critical national security needs with the most advanced AI capabilities US industry has to offer,โ the CDAO said.