Even if the Singularity is bogus, machines very well may be as smart as humans by century’s end. How will we make sure they don’t turn on us? Sometimes you have to fight fire with fire, says Dr. Kaku.