I, Robot - 2004 film adapted from Isaac Asimov (one of the Big Three in mid-to-late-20th century science fiction authors, others being Arthur Clarke and Robart A Heinlein) starring Will Smith as a policeman in 2035 that is not particularly fond of robots.
Decent movie