Artificial intelligence has gripped the public imagination but its powerful potential on the battlefield has similarly inspired excitement and dread in the military community.