Privately operated passenger railroads were (somewhat) more reliable, but not profitable, which is why Amtrak exists.
And, when you talk about government investments into the two other modes of transportation, I presume you mean air and highways. You forgot waterways - also created/improved with government investment.