“The rapid automation of military weapons could lead to "Terminator-like war scenarios" that are undesirable.”