Westworld (1973)
Westworld is a 1973 science fiction western-thriller film written and directed by novelist Michael Crichton and produced by Paul Lazarus III. It stars Yul Brynner as an android in a futuristic Western-themed amusement park, and Richard Benjamin and James Brolin as guests of the park.
More at Wikipedia.