It occurrs to me that there were any number of Star Treks (original series) that touch on this very theme. I don’t what I was thinking. There was the episode where they worship the false (computer) God Landru and there was the episode where all the blond Aryan types feed fruit to the giant dragon head. (Sorrry no links as I am working on the Missus’ computer and it’s too much of pain). I’m sure there are other episodes which don’t immediately come to mind.