Just the way companies incur technical debt, there is also ethical debt. It is accumulated by taking ethical shortcuts and avoiding painful decisions (a case I have seen several times is letting star devs/sales misbehave).
Eventually the payment on the ethical debt comes due. In Uber's case, they have been building it up for a long time without any down payment. A hard cleaning is needed from top to bottom.