Well, here is how I think robots were created:
There once was a happy, and cool government called the Other United States of America (OUSA) and this government, to make everybody else happy and to cut some of its budget costs, decided to invest billions of dollars in Robotics and finally managed to get the technology to create an army of robot cops which finally allowed them to fire all human police officers.
Because they wanted the robots to be done A.S.A.P, they didn’t program the robots to understand what the word “arrest” means or how they have to arrest citizens. These robots… they just killed criminals. In order to fix this serious problem, they abolished the “Innocent Till Guilty” law and everybody become much more happier!
Of course, all happy things had to end and in this case, some random slimes crawled and died in the water supplies of various Other American cities. Then zombies. Really, just zombies. The robots were pretty sad and cried many fat tears of oil before swearing to kill the zombies in revenge, because they were programmed to do so. Along the way, in order to restore humanity, they also helped every human survivor they met by filling them with bullet holes.
Although for some strange reason, the robots weren’t successful in reviving the human civilization… I wonder why?