Inteligencia artificial, Seguridad