What's happening?

Star Trek: 2x5

The Apple

The crew of the Enterprise visits a mysterious paradisical planet controlled by a computer that is served by the local inhabitants.

Star Trek: Season 2 Episode 5
Oct. 13, 1967