A US judge has ruled in favour of AI company Anthropic in its legal battle with the Pentagon, finding that the government's actions against the company were illegal. The ruling comes after Anthropic challenged its designation as a supply chain risk.