I think for the longest time, machines with really advanced intelligence would be prone to errors and mistakes that would cause more problems than actual machines uprising.
Oh, that's a scary thought. Not only would they be extremely fast thinking, intelligent, and powerful, but also occasionally insane.
Instead of Terminator, we might be facing a classic "Captain Kirk vs Computer" scenario. Hopefully we'll be able to defeat them with simple logic puzzles too.
I think the future might be more like Isac Asimov meets aliens, where machines are out there surviving extremes of space along with humans, moving towards some common goals.