The Corporation / 2003
https://en.wikipedia.org/wiki/The_Corporation_(2003_film)
Free to watch on YT, IIRC
That said, I would also concede that over the past decade or two the clean code movement has made a damn strong effort of poisoning the term by trying to characterize technically inconsequential aesthetic concerns as technical debt.
It's something like:
(A) To the public (e.g. prospects, customers, investors): "This is a good thing and we're going to be an even better bet!"
(B) To the remaining team: "This is tough and I feel your pain and will do better."
(C) To the laid off: "It's not you, it's me, thank you and good luck."
It's hard if not impossible to handle all three of these authentically, concisely, and in the same message. Which is why you can almost immediately find something not to like..
They can try to do better and be hopeful, but they also fucked up big time. It's not like the public actually believes the lie, so stop telling it.