Decades after its television debut, ‘Star Trek’ remains a remarkable case study in how an entertainment idea can evolve, expand and connect with generations of consumers.