Even if it was traveling at near light speed, it should take thousands of years before they encounter another planet. And if they were traveling that fast, they would barely see these planets for a fraction of a second before continuing on their journey :-)
But well, great scifi show back then.