It wasn’t based on the book at all. The book itself is a compilation of short stories, but the movie’s script wasn’t based on any of those. It was originally written as an original action script that had nothing to do with anything Asimov. The studio that agreed to produce it made the writers rename it to “I, Robot” and insert a bunch of Asimov sounding shit in there, like the 3 laws and some character names.
If by “literally anyone” you mean any catholic man, then sure.