Gilligan discovers a robot who is programmed to fulfill his master's wishes. ...
Gilligan's Planet
Season 1 Episode 4: Journey to the Center of Gilligan's Planet
Gilligan is bonked on the head by a moon melon, and has a nightmare about a world beneath the planet which is populated by aliens.