As you may or may not know, Randall Munroe (that guy from
xkcd) is now doing a thing where he is "answering your hypothetical questions with physics" - I think it's brilliant.
Anyway, this week, he dealt with the robot apocalypse, and FIRST even got a hyperlinked mention. Anyway, check it out:
http://what-if.xkcd.com/5/