I'm reading "How to write Science Fiction and Fantasy" by Orsom Scott Card, and he mentions how Star Trek is not good SF by any stretch. The world building is absurd, and high ranking officials regularly do missions and adventures that seem absurd. While it works for Star Trek, it won't fly in any stand-alone SF work today.
However, that is what happens with most TV-first SF shows, Doctor Who being another example.