Those companies, along with four others, have agreed to make their AI available for classified use by the Pentagon.