The obvious patch for this is to have monetary penalties for failing inspection written into the contract, so that submitting shoddy work has a price measured in dollars. Money is the unit of caring, at least at a corporate scale, so there needs to be money involved if you want them to care systematically.
(I don’t know if NASA already does this. They might.)