An interesting idea, though IIRC from the lore in an attempt to stop zombies one of the things they did to most robots was make their algorithms so strict that just about any human is considered a criminal/trespasser, which ended up resulting in copbots going crazy against humans.