Existing railways in the US are privately owned. It's up to those companies to upgrade them. The highways, or at least most of them, are public.
I wish it was that simple. Amtrak is a quasi-public corporation (sort of like the Post Office) that exists on their own revenues and very sizable subsidies, primarily Federal (they also operate some regional lines under contract from states & other regional bodies). The private railroads you speak of are all long-haul freight (think FedEx Air and UPS Air, running on terrestrial steel bands). Most of the right of ways are owned by private RR companies. They are maintained by the private companies, from the fees Amtrak and the regional lines pay to use them, and from those RR companies' freight revenue.
A few examples: MARC (Maryland Area Regional Commuter) is owned by a division of the Maryland Department of Transportation (a State agency), and operates on right of way owned by the Baltimore & Ohio RR and Amtrak. They have contracted with Bombardier Transportation to run it (Yup,
that Bombardier).
New Jersey Transit is a NJ state agency, formed to operate rail, light rail and bus services. In some cases, they provide buses to private bus companies operating commuter services (which sounds like a subsidy to me). PATH (Port Authority Trans Hudson - which should properly be PASH, since it runs in a tunnel under ['Sub'] the Hudson River), is owned by the Port Authority of NY and NJ, the same folks who own & operate EWR, LGA and JFK. It runs from Newark to the Wall Street area of New York City - most of the other rail service goes into mid-town Manhattan, because that's where those tunnels end.
SEPTA (Southeastern Pennsylvania Transportation Authority, even though its acronym sounds like a disease) is a regional public transportation authority, chartered by the Commonwealth of PA but run by the multi-city & county Philadelphia area region that it serves. It operates all the terrestrial mass transit modalities: rail, light rail, rapid transit, subway and bus. It is built largely around the commuter operations originally established by the Pennsylvania Railroad and the Reading Railroad, both of whom went bust. (Many of the stations are located on Reading Avenue in towns it serves. Or on a Monopoly game board.) It is a classic hub-and-spoke system, built to bring commuters from the suburbs to the jobs in center city. Now that most of the jobs are located in surrounding municipalities, you have to take the train from your town into downtown, then transfer to another train (spoke) to your destination, Or to a bus from
that station to your job destination. The roadways, being newer, reflect this shift and take you much more directly to/from home, job, etc. The only truly new rail route they've built runs from center city to the Philadelphia airport. I'm ashamed to say, in ten years of living around there, I never took it to PHL. Hub & spoke meant it had two separate trains, and took twice as long as driving. But for some people, it worked.
There are more examples, but until you get down to some bus-only lines, they are basically not private. There's even a good case to be made that those bus lines are in part subsidized by governments who build the roads they run on.
The case for subsidies for any form of mass transit is based upon the fact they they benefit society as a whole, They reduce the number of individual cars on the roads, they enable business development, they pollute less than other means of transportation, etc. If you charged the fare necessary for them to truly turn a profit, the ridership would go w-a-a-y down and they could not exist. But we need them.
Air transportation shares many of the same issues: The air traffic control system (including Mr. Echo's salary) is subsidized by the government, so planes don't run into each other, as they did before the mid-1950s. Ditto TSA, dammit. Airports and runways are built largely with tax money. Sure, some fees come from end users for all of these, but far less than the real cost (both capital investment and operating cost) of the entire system. Could some parts be more efficiently run? Of course. But replace it? Like it or not, our system of a capitalist society has some socialistic aspects. Passed by both Democrats and Republicans over our country's history.
Some things we, as a society, demand are simply impractical to operate entirely in the private sector. Public schools and public libraries are good for their towns, and even though I'm childless by choice, I won't move into a town without good ones. They make the whole town better for all. Ditto the military, public universities & hospitals, etc.
Might as well have the police department funded by the proceeds of burglaries.