Sadly I feel GDS is more of an outlier than the rule.
Scotrail is run by the Scottish government and has been steadily electrifying the Scottish rail network and because of the slow and steady nature of the work, between them, Network rail and the OHLE contractors they have got the cost for this down to 5 times less per km than typical UK costs previously e.g. the great western main line.
The moral of the story is get good people, give them stability and a clear goal and they will do great work. It doesn't really matter if they are working for the government or the private sector.