The introduction of artificial intelligence promises much, but the industry must prevent it from becoming a hacker’s paradise.