The key isn't the longevity of the CPU, it's whatever is attached to it. Input and output stages fail, power supplies spike, things burn out, things wear out. So the processor can keep going strong...but what are you controlling?
But TDLR the answer is use the oldest sustainable tech you can find. Think like Gunpei Yokoi and build a Gameboy, not a Steam Deck.