Wish Upon a Star
The Robinson family banish Dr. Smith from the Jupiter 2. He takes refuge in an abandoned spaceship where he finds a machine that can materialize anything. In an attempt to get back on the Robinsons good side he gives them the machine which plays on the family's greed.