What's your Computer's Shelf Life?

I’ve been using PCs and MACs since DOS (That ages me a bit eh!). Mainly heavy duty graphics/photography work.
MACs last longer, or rather, are more usable for longer. It’s usually the software that pushes, outdates the hardware.
My 13 year old iMAC 24" died on me a month ago. Replaced it with a A$400 27" that’s 9 years old. I was able to clone my whole system using Time Machine backup from the older machine and put the whole thing almost seamlessly on the 9 year old - (even though it runs a later OS). Then I was able to revive the older machine using Time Machine. ($80 external HD for the back-ups the best 80 ever spent!)
Though the HD is a bit suss I think. Better get out the Torx driver and rip it apart! (Don’t throw anything away!)