Whether the trains are crisscrossing Europe or venturing into the Japanese countryside, the business model comes with significant built-in advantages.