Actually, you're wrong about this not happening in the real world. A certain large state's court system bought an extremely expensive software system (hundreds of millions of dollars). It didn't work. Turns out the warranty expired before the software was delivered. Really. The large, well-known consulting company (consult ="con" "insult" according to Dogbert) said "Well, we can look into that for you. Another $100,000,000 please!"
Turns out the person who signed the contract had as much experience with large computer systems (and large contracts) as your typical goose knows about astrophysics. Of course SOMEONE had to pay for the debacle, so she retired on a nice tax-funded pension. So the taxpayers continue to pay her for her "service." And, of course the CONsultants got paid. And years later the system still doesn't work! They've mostly abandoned it.