Well, quite. A fully ticket-funded passenger rail system is a rare, rare thing. There are simply better ways to make money than going solo on building and running a railway and not either diversifying or getting state support.
Yes, it's true for roads, but no-one expects roads to all turn a profit in the way that rail lines have to. Even for place with road use fees for motorways, most people can access the road system for rather less than the cost to construct and maintain it.
Unprofitable roads don't get closed very often.