The Pentagon’s embrace of military AI raises questions about what limits should be placed on the technology—and how to keep humans in control.