In "Eyes on the Stars", Carl McNair credits Star Trek for inspiring his brother Ron to pursue the sciences and ultimately become a NASA astronaut.
Gene Roddenberry’s Star Trek was very progressive for its time when it originally aired on NBC. It made social and political statements hidden from the network by its space adventure story lines. However, NBC did object to Roddenberry’s insistence that the Enterprise have a racially diverse crew, citing concerns about marketability. Thankfully, the network lost that argument.
Nichelle Nichols (Lt. Uhura) eventually volunteered with NASA to recruit minorities and women into the space agency. Her role on Star Trek was so significant at the time, that Martin Luther King, Jr. asked her to remain on the show when she was considering leaving.