Well one option is to hold designers, developers, builders and inspectors separately liable for the work and inspections they do for their entire lives, not limited to the period of solvency of the company they did the work for.
We’ll see a return to very conservative designs though, with no 100 storey skyscrapers until they find people actually willing to pay for and perform good work.
Until we are actually sending people bankrupt or jailing them, the corruption will worsen. There has to be some actual penalty for people trying to pass off shonky work.