Rail yes, highspeed rail maybe not. Whether china has the market and will to sustain widespread 1000kph rail is untested.
I could see it for a 13 hour flight, maybe. Train tracks don't cross the Pacific, though.
An electric airliner is still unattainable. Synthesizing jet fuel using electricity is of course possible, but must be massively less efficient than using that electricity directly in electric motors with efficiency > 0.95 and recuperative braking.
The carbon footprint of building the railway, likely with massive amounts of concrete to use to support the rails, and the steel for the rails (to say nothing of maglev infrastructure) — that's going to be huge. Building a pair of airports should be much less expensive.