They don’t always get scrapped - they often get sent out to another country, sold at a discount, fixed there.
I see this frequently driving through poor, rural communities. Very nice vehicles, with some sort of damage and repairs. You can get a super nice interior and high quality ride if you’re willing to deal with vanity flaws.