The lawyer knows the prosecutor and the judge. The contractor knows all the inspectors and bureaucrats. They get favorable treatment compared to some nobody off the street. A huge chunk of what you pay them is compensation for all the time they spend building that professional relationship with the people who you need to appease. The fact that services are rendered is what blurs the line between business and corruption.
At least on the inspector side, I wonder if governments started privatizing home inspection if this would help establish a more "market-based" treatment of builders. The city could honor certain third-party inspections as being "reasonable" for permitting.
I could see this working even better if the inspection service bills the building owner rather than the builder. Then the incentivizes are aligned for a fair inspection and fair treatment of builders that is in the owner's interest.
Seriously, good luck getting the subcontractor back to finish quickly when somebody who has been providing him with work consistently calls and needs a hand. As a homeowner you are back burner.