Greg Cox wrote:
Westworld (1973). In particular, the climax of the movie very much anticipates the first Terminator movie. You'll see what I mean if you watch it. (No spoilers!)
Alas, the sequel Futureworld is somewhat less interesting.
By the way, it doesn't have to feature a robot, it could be a cyborg or even something from the show Dark Angel episode called 'Red'.