In “Star Trek: The Next Generation,” Captain Picard and the crew of the U.S.S. Enterprise leverage the Holodeck, an empty room capable of generating 3D environments, of preparing for missions and entertaining them, simulating everything from lush jungles to the London of Sherlock Holmes.