We're all doomed, of course, but probably not right away. Here's Atlas, from Boston Dynamics:
He can walk, deal with small obstacles and remain upright when jostled. Of course the stated mission is to provide a very durable first responder. Like a fireman or a town cop. The patrol car will of course drive itself.
"Do you know why I pulled you over?"
"I don't care, just give me the ticket and don't kill me!"
Here are a collection of other 'bots more like dogs, and one like a large flying beetle that can land on a vertical curtain. The dogs have possibilities. Take one our for a walk. Meet an assailant. Tell the dog
Dog sits and lets off a double tap through his nose.
The future looks entertaining, until they kill us all.