Robots won't kill off humankind.
Indeed, it's people that kill people.
Even so called "robot" drones (the V1, V2, original Cruise missile etc) are launched by people.
The "cloud" will fail, then the bots and IoT will stop.
Finally due to outsourcing to the cloud we will reach the Singularity. Not the one envisaged by modern SF of AI (with perhaps very cute names), but this Singularity (November 1909).