One episode of Star Trek took inspiration from, of all things, Sylvester Stallone's Rambo, to convey an important message about violence.