And, that can happen in some science fiction novel, but it isn't happening in real life any time in the next century at a minimum. Try to maintain a vacuum on a tunnel say, 18 feet in diameter, 500 miles long with let's say, just two stations one at each end.
First, the train itself has to be sealed to keep an atmosphere in it for the passengers. And, that atmosphere has to be maintained at some reasonable level of comfort. Every penetration of the cars is a potential leak. Every seam of metal, is a potential leak. Evey seal between two materials is a potential leak.
Then you have to evacuate the tunnel. That's roughly 150 million cubic feet of volume you have to pump all the air out of. Then the tunnel has to be sealed to a degree that keeps it that way, or has sufficient pumping going on to remove all leakage as it occurs.
Then there's the two stations... You have to seal the tunnel in such a way that the train enters say, a lock, has the air pumped out, then enters the atmospheric station to discharge and load passengers. Then you have to do the same to put the train back in the tunnel. All the while, the vacuum has to be maintained.
The whole of this would be ungodly expensive and difficult to maintain. If there were any problem with the train or tunnel while the train was in it, it could result in a serious disaster.