https://en.wikipedia.org/wiki/Daemon_(novel_series)
I forgot if any of the IRobot short stories used the concept - if they do they would predate the movie.
First mention of self driving cars becoming sentient and turning on humans I’m aware of, from 1953!
Might feel a little too close to home to re-read.
I'll never forget the gig worker assembly scene.