I just watched an episode of Star Trek Voyager, Episode 39 The Thaw.
This episode begins with finding a planet that had gone through environmental collapse, and its inhabitants developed a stasis system that linked their minds inside of a virtual environment.
Which then developed a frightening clown from their collective fears.
All the same the stasis system and the linked virtual environment is very similar to concepts in The Matrix. :)
Makes you wonder which came first.
Feel free to write more similar references in the comments.