But, if you think that those transfers are dangerous, I don't know what to say about coupling in high speeds. Insane, maybe :-) Coupling even in station when only the locomotive is moving is favorite source of accidents. Basically you'd have to reach almost same speed as the train you are coupling with in the exactly same moment when you are going to touch it, with only very small difference that buffers can absorb. Hard enough if that speed is zero.
It's quite hard to control exact speed of a train (at such high speed), even without any atmospheric effects and with ideal adhesion conditions that never change. I can imagine it in like 50 kph, when the worst thing to expect is a derailment, some deformation zones blasted, and few non-fatal wounds. But every problem rises at least exponentially with the speed.
But if that's the case then it still seems like the original problem of running two trains right alongside each other, on different tracks, for several minutes while people cross from one to another, and with the consequence of any error being passengers getting sliced in half, would be even harder.
Maybe the coupling mechanism could be something long that extends from the back of the train. The cars can connect can over a wide range of distance, kind of like a runway. The connection is made with a friction clutch that can be applied gradually and eased off if something goes wrong. The coupling also has a drive to pull the cars together after they are securely linked.
They could always slow down to make the link too.
ICE train in Germany got derailed by few sheep two years ago…
Approaching the station, there's an announcement on the train "Everybody getting off at the next station please move to the last carriage". Then the last carriage simply detaches from the train and coasts into the station to unload at the platform.
Meanwhile, another carriage has been loaded with the passengers who were due to get on at the station. After the train passes the carriage is shunted by a small locomotive to catch up with the train and it attaches to the end.
No need for crazy long parallel tracks and dangerous transfers between high-speed trains. Difficulty: most high-speed trains have locomotives at both ends afaik, but that's a minor issue.