I, Robot
I, Robot (stylized as i, ROBOT) is a 2004 American science fiction action film directed by Alex Proyas. The screenplay by Jeff Vintar and Akiva Goldsman is from a screen story by Vintar, based on his original screenplay Hardwired, and named after Isaac Asimov's 1950 short-story collection. The film stars Will Smith in the main role, alongside Bridget Moynahan, Bruce Greenwood, James Cromwell, Chi McBride, and Alan Tudyk, as the robot, Sonny.
Plot
In the year 2035, humanoid robots serve humanity, which is protected by the Three Laws of Robotics. Del Spooner, a homicide detective in the Chicago Police Department, has come to hate and distrust robots after a robot rescued him from a car crash while allowing a 12-year-old girl to drown based purely on cold logic and odds of survival. When Dr. Alfred Lanning, co-founder of U.S. Robotics (USR), falls to his death from his lab office window, a message he left behind requests Spooner be assigned to the case. The police declare the death a suicide, but Spooner is skeptical, and CEO Lawrence Robertson, Lanning’s business partner, reluctantly allows him to investigate.