The analogy only goes so far and it's not clear to me what you mean, what do you mean "default on tech debt"? Re-write? Give up and just accept the penalty when changing systems?
I have never, ever in my career ever seen one "thrown away". Unless the project or startup itself dies, of course.
Once something is built, and in production in the hands of end users, it is something that needs to be maintained and built on and fixed over time. It's never thrown away.
Now if you are lucky, it has been well-written and designed so that parts can be refactored over time as new features are needed and old ones deprecated. If it's shoddily built and rushed because you couldn't afford or couldn't be bothered to do it right the first time, then that's going to be tech debt you are going to have to deal with for years to come.
I've only ever been involved in something close to that "tech debt default" in my career. All other cases of throwing something out were either planned to begin with (so intentionally a throwaway prototype, not tech debt), or just giving up on the product (tech debt included, but who cares at that point).
(the case I was in was the game Commandos. We completely threw away all source code for the sequel, which we wrote from scratch with different architecture, tech and even somewhat different coding standards. Getting rid of the tech debt that Commandos accumulated over the yearlong deathmarch was nice, but without the completely different architecture needs I doubt it would have happened)
Yep, this is the majority of my experience, and clawing a way back from that sustainably has been a fairly large part of my consulting/contracting career over the years.