Yes, if there’s one thing government does well, it’s managing things efficiently.
The reality is in most of the world, including all the places with the best railway infrastructure the government is managing or tightly controlling the rail road.
When I see cities of millions in the US not even have a railroad you really have to ask yourself if the perceived inefficiency of government can make things better anyway.
If the government ran the Sahara, within five years there'd be a shortage of sand.
Government can be stupid and wasteful, but they cannot even dream of being more wasteful than a competitive market.
[1]: https://www.bbc.com/future/article/20191108-why-the-world-is...