The use of the model through a contract with Palantir highlights the growing role of AI in the Pentagon.