Artificial Intelligence, War and Mass Surveillance