A self-replicating AI would resemble a computer worm, which spreads from system to system without human input or interaction—potentially infecting millions of computers and causing enormous damage.