The problem with robot apocalypse is the vagueness of the threat.
Are these the robots from the Matrix, immensely fast but light? Are we talking "Metal Gear" type robots? Star Wars AT-AT's? Terminator?
Since robots with AI could in theory improve themselves, every counter-measure would eventually be nullified as the robots would invent a new robot that would render old offensive measures useless.
I could actually imagine us using tanks with EMPs, only to have a new robot we've never seen before emerge from the robot lines to blow us all to kingdom come.
Robots are rather annoying that way.
The only way to survive would be to ensure the robots have no reason to kills us (i.e. move to an island where the robots don't really give a crap). Or space.
I like space. Let's all go to outer space.
Right now.