If cars from the 90s lasted 25 years the roads would be full of them.
There are still many of them on the road, and your analysis is missing critical components. For example, all cars need maintenance sometimes. A car "lasting" is predicated upon it receiving that maintenance. If a car doesn't get basic maintenance when it gets old because someone makes a decision that they should buy a newer vehicle even though they will lose money on the decision because they want new and shiny and/or don't know shit about shit, then a perfectly workable vehicle goes to the crusher when it could be restored to service with minor repairs and the TCO would be far lower than buying new.
There are still shitloads of 90s Hondas and Subarus. I see tons of them every day. Not so many Nissans, but that's because people crashed all the 240SXs (often turning them into drift cars first) and the Sentras weren't as nice as a Civic at the time. You can't go outside without tripping over a 90s Civic.