Am I hearing things? Do we have any trekkies around?
I wouldn't call myself a Trekkie, but I do know and love Jerry Goldsmith's music for
Star Trek, The Motion Picture -- whose title theme later was used as the theme for the television program
Star Trek: The Next Generation. You're right to hear a resemblance, but only for two bars or so; then it develops in a radically different, and as you'd expect more complex, way. I don't think this could be used to support a plagiarism charge, just an independent creation of a somewhat similar theme.
For real plagiarism, you want something like the note-for-note use of the ending of Strauss's
Macbeth by Danny Elfman in the music for the 1989
Batman movie, or James Horner cribbing from Hindemith in his music for
Willow.