A device with no moving parts, only 5 years of expected life?!
I understand if you say that high-performance users will want a newer system after 5 years, but I'd be very surprised if this 64GB RAM machine doesn't suffice for 98% of people, including those who want to play then-common games at default settings
Good to have some concrete figures nonetheless of course, it's always useful as a starting point
Apple only promises to support devices for 5 years.
https://support.apple.com/en-us/102772
They do sometimes end up supporting devices for longer than this, but you can't rely on it.
First: it's not five years. It's five years if you posit that macs are magic and use no energy[1]. In practice they're 40-70% the consumption of a competing desktop (depends on usage and specific model, yada yada yada). So figure a few decades or thereabouts.
But even so: I'm not sure I know a single new-device Apple customer who has a single unit older than five years. The comment about power implied that you'd make up the big Mac price tag on power savings, and no, you won't, not nearly, before you hawk it on eBay to buy another.
[1] And also that you posit that the device is in a compute farm or something and pumped at full load 24/7. Average consumption for real development hardware (that spends 60% of its life in suspend and 90% of the remainder in idle) is much, much, much closer to zero than it is to 300W!