As we're frequently told, trains and buses exist to meet a social need, not to turn profits.
Same as delivering a letter or the post office network.
That's why pay tax, for public services.
The social need is met by a bus service. Pumping money into a totally unviable train service would be an absurd waste of public money.