There is an excellent piece by Yvain that goes into deep details of those problems[0], so I won't be repeating him here much, but the world is full of such problems, and apparent stupidity of institutions and markets are usually result of inability to coordinate.
I'm not saying to give up democracy. But we have to appreciate that it has very troubling failure modes and that they're not theoretical.
Real-life democracy tends to be extremely impotent. It has tremendous operating costs (think of all the resources wasted in a zero-sum game of political campaigning), and in the end people still can't agree on things like building infrastructure (NIMBYsm) or creating laws that benefit the population. Again, I'm not saying "ditch democracy". But there is a huge trade-off between security of decentralization and effectiveness of centralization.
There's also the case that central planning doesn't suck that much - it sucks when done for humans by humans, because central planners operate at human speed. But consider that instead of Paco setting up routes, there is a computer named PCO, tasked with collecting real-time data from all drivers and optimizing routes. PCO may alter some of instructions it sends to drivers to explore the solution space, and it will quickly figure out that doing only rights leads to less fuel used. And then it may stumble upon other optimizations, like shifting delivery times in different parts of the city depending on traffic patterns - things that are impossible to figure out by Pablo, because they require global view.
I think that central planning got a bad name because of Soviet implementation, but with modern computing, maybe we should re-evaluate its costs and benefits.
[0] - http://slatestarcodex.com/2014/07/30/meditations-on-moloch/
Obviously we don't live in a world nearly static enough for this to occur. If so then the Zuck never would have made FB nor Carnegie would have left Ireland and we all would be worse off for it. Yes, these are historical issues. Lets try a future one.
Assume that Pablo is a UPS driver. Pablo notices that many times when he has to turn left to make a delivery, he spends a lot of the time waiting at a red left turn arrow light. Pablo, needing to make his metrics, decides to cross intersections and make Uturns and rights and all other sorts of maneuvers. Pablo shares his insights with his co-workers and friends. Everyone benefits from Pablo's insights, more packages are delivered, the company spends less fuel idling, everyone makes their metrics, etc.
Now in a world where the path was designed by Paco up at headquarters, Pablo could not make those alternative turns. If he did, he would have violated the paths that Paco designed and he would have faced repercussions. Why? Because Paco knows more than Pablo and Paco is the one responsible for designing the routes. You assume Paco has superior know how and experience and will be better. But Paco is just a man like everyone else, he makes mistakes and didn't see what Pablo was doing was beneficial. Not through malice, but just because Paco looks at google maps all day, not actual light cycles. It wasn't Paco's fault, nor was it Pablo's. It was just an oversight.
But in a world where we do not assume that the most experienced are also flawless, Pablo took it upon himself to fix the problem, and everyone is ok with that.
Multiply this example by thousands and you have a sense of what is going on out there. Also, sprinkle in some greed, malice, lies, sex and drugs, and all the other deadly sins and you get why we need democracy. It's because we all screw up, but if we screw up at least we can get each other out of it.