The physics of Star Trek