AI and drones will 'tackle the most dangerous tasks instead of humans', the Chief of the Air Staff said.