A federal court ruled that the Pentagon acted illegally when it blacklisted Anthropic by deeming it a security risk, effectively blocking the company from working with the US government.