Are we teaching AI to destroy humanity?

With all these massive amounts of articles about AI that's gonna destroy humanity, aren't we putting the idea out there for AI?