Using AI in military operations raises ethical and security concerns regarding autonomy in warfare and potential misuse.