The real world would be better off if replicators existed, but they can make things difficult for the writers behind Star Trek.