My folks have a washer and dryer that I think are both around 25 years old.
The dryer (gas) recently stopped working, and my folks were starting to look at new models. Coworkers and friends had told them to try and get it fixed, to avoid new models if the old ones can be kept around.
The dryer has received new belts since then, but otherwise is original equipment.
From my own research on the topic, it definitely seems unheard of to get 10+ years out of most dryers today. Just another case of "they don't build them like they used to."
Based on what they told me, I too strongly believed it was only a belt after doing a bit of google-fu: it sounded like it was "on", thus suggesting the motor was fine; it continued to produce heat (thus, the gas heating element was fine); it just didn't spin.
A serviceman replaced the belt, and another part or two (tensioner and perhaps something else) for about $150. If the dryer continues to work until the next time a belt is needed, that will be a hell of a deal compared to buying a $500+ dryer that will be cheaper to replace in a decade.