It was to my understanding they’d already had a movie written and only brought in “I, Robot” because it was familiar to some of the audience and they could pick the corpse of the book for buzzwords. Even the ending credits say the movie was “inspired by” the collection of short stories.
Yellowbeard (1983) sort of qualifies with 22% tomatometer but 64% audience score.
Critics (and John Cleese) didn’t like the movie at all but my friends and I all love it! Hard to dislike a stupid comedy stuffed with an incredible array of comedians; Cheech and Chong, Most of the cast of Monty Python, Peter Boyle and Marty Feldman, Peter Cook, and many other well known comedians of the 1960s and 70s. We still quote lines from the movie!