I have a near death grip on my late 2012 Mac mini i7 (upgraded to 16GB and 2 1TB ssds) It has stood the test of time and to me is an engineering marvel.
Aside from gaming it can last another 10 years.
For longevity, I keep it on its side and replaced the bottom lid with an aluminum mesh lid. This has made it near silent for 80% of my tasks (programmer centric). I also regularly clean out the fan.