Hi,
On two related topics...
1,) i have TTL that have been around for a very long time that still work exactly as when new. Some of the original TTL chips i used in the original designs were swapped for lower power versions because that meant much less power consumption, so those were not around as long but the other standard TTL were and still work (some 25 to 30 years).
2.) The flash memory controller chip memory retention is something like 30 years now. After that bits can flip unless the memory is rewritten. Something to keep in mind. The chip still works, but will need it's memory refreshed. Back some time ago this period was only 10 years, but improvements got it up to 30 years or at least that's what they claim. I have no flash based controller chips that i have had for more than 10 years. Had UVPROM based chips but dont use them anymore.
There are routines that can be used to reflash some memory automatically within the chip itself but only for chips that support this functionality i guess...so that could boost these chips into the 50 year or more time frame where the equipment would get outdated anyway.