Most people believe that an A.I. will become sentient and see humanity as a threat.
it is called the terminator scenario (at least I think it is, but when you search wikipedia it redirects you to transhumanism, because we all want to be cybermen apparently)