It also warns that AI-enhanced national security apparatus like autonomous weapons and surveillance systems will raise ethical questions.