Ask your local, independent bike shop for specific recommendations if you need those. Bikes components are highly standardized.
Trek, Giant, Specialized, Raleigh, Fuji... Some of these have become "just a brand name" under new ownership.
I also have a bike that I threw together from 40 year old parts, and can still get any replacement that I need from Amazon or eBay. I suspect demand from overseas may be keeping some parts for older bikes available.
I think you can contribute a lot to the lifespan of a bike by learning to do a bit of your own maintenance, so you can spot minor issues before they turn into component failures.
Anything but the cheapest of components would last years with proper maintenance (which has cost in service charges: good bike mechanics don't come cheap)
Bikes that get ridden a lot are like the ship of Theseus...
You must have cared well for your bike if it lasts 40 years with that kind of milage.
That specific one is 40 years old, but I only owned it for the last four. All my bikes were bought used: like cars, once you roll them out the shop's door, you loose a significant amount of the purchase price.
They aren't cheap but the investment I've been told is worth it:
Brands will vary both in servicability between models and which hrands are available.
Avoid any integrated electric parts that the frame is builtaround (but a bolt on motor and battery is fine whether the motor is fitted to the wheel or pedals).
Disclaimer: Own an Orbea Vector and love it.
rivbike.com