When the director J. J. Abrams revived the “Star Trek” film franchise in 2009, with an all-new cast including Zachary Quinto as Spock, he included a cameo part for Mr. Nimoy, as an older version of the same character. Mr. Nimoy also appeared in the 2013 follow-up, “Star Trek Into Darkness.”.