Simple answer:
AI carries out tasks. Basically like jkawig said, if we told it to do it, it would do it. If we programmed a dangerous machine to make more machines and/or destroy mankind, sure it could. But as long as this technology is kept safe in the right hands, I don't see what all the drama is about.