One cop has a deep hatred for robot's. He soon meets a robot named Sonny who he suspects that he killed the man who first started the hole robots thing. Sonny seems to be able to express human emotions and have dreams. Also unlike the other robots he seems to have the option to be able not to follow the three laws. With this the decide to decommission him out of fear.
But in the end Sonny was not decommission and ends up helping to save mankind from the truly corrupted robot Evie who is linked and can control all the robots. Evie seemed to rethink the laws and think that the robots should protect mankind by basically keeping them prisoner. Sence Sonny doesn't have to follow the laws Evie can't control him hand helps in killing Evie.
In the end Sonny has done his purpose and now wonders, to start on what he thinks he is meant to do. Sonny was given the chance of free will and ends up making choices of his own. He goes off to guide the other robots and basically become their leader.
Sonny is the closest thing that there is for a robot acting like a human. He is give the right to be treated like a human and finds his own purpose. Truthly I believe he deserves it.