The U.S. Army is pushing defense contractors to open up weapons’ software to new tools, including AI.