The production company that made "Mission Impossible" also made the original Star Trek series. That's why you often saw guest spots from actors like Leonard Nimoy on MI.
Desilu studios made both series but Leonard was not a guest star on Mission Impossible. He replaced Martin Landau when he (Martin) and Barbara Bain had a contract dispute.