Efficient, how? It uses much more energy, makes more noise and creates more pollution.
The speed has very little to do with the funding model. Flights were still faster in the 1970s when many state-owned airlines operated, and trains are little different when private companies run them (see: several European countries).
Planes also spend their time where there is less wind resistance to deal with.
Trains are still a win, but it isn't as clear as it seems.
I'm not sure what noise has to do with efficiency - I doubt that the energy expended on vibrating the air is physically or economically significant - but it is worth noting that trains are loud. Particularly because regulations written in blood require that they blow their horns three times at every level crossing at all hours.
At least in the US, there was surprisingly little public subsidy of railroads. The big exception is in the west, where many lines were financed in part by land grants, but this is not true all of lines (the Great Northern Railroad, for example, had no land grants)--and most of the railroads in the east has no land that could be granted to them at all. Antitrust laws in the US specifically originate from regulating the anticompetitive practice and local monopolies that railroads had. Indeed, many of those practices that motivated the law are now being repeated by airlines without a corresponding modern push to regulate those practices away.
Actual state ownership of the US is rare, both now and historically. The big exceptions are the temporary nationalization of the railroads during WWI and the assumption of the bankrupt Penn Central assets into Conrail (which was divvied up between CSX and NS in 1999). Of course, the US may be unusually competitive on the world scene for modern railroads, with US/Canada essentially three geographic duopolies (BNSF/UP, CP/CN, and CSX/NS).
most railways in Europe have been build by state programs to kickstart further industrialisation during the later half of the 19th century. prior to rail, the only way to transport bulk goods like coal and iron ore efficiently was through canalways. rails solved the issue of getting the raw goods to the industrial centers where people lived to produce goods efficiently. it also allowed for rapid expansion of cities and town and made cities and town with no access to a waterway far more viable.
privatization of rail only happenend after the cold war, and is mostly seen as a failure in most countries.
Aviation is simply much more efficient.