CPUs are immortal, it's the motherboards that die. If you want to run a certain chipset, after some amount of time it's motherboard availability that will keep you from doing that!
With RAM it’s a more common problem. There’s even software to check for it (memtest86)
Can you elaborate?
CPUs should go pretty much forever, provided they're run on clean power. They're a little square, entirely encased. Motherboards are bigger and with physical connectors you need to use force on.
https://semiengineering.com/chip-aging-becomes-design-proble...
There's electromigration which is harder and harder to mitigate with smaller process nodes