To answer the original question... your server design should have quality capacitors, good passive cooling (put fans in, but know they're likely to fail over 20 years; make it easy to swap them, but try to do ok if the fans all failed), and underclocked. Storage is tricky and may or may not last 20 years. Run with several storage devices mirrored or raidz3, and make it easy to replace failed storage devices. Also, make sure any batteries are remote mounted where leakage won't damage important circuit boards.
Most devices fail over the long term because of storage issues, heat stress/cycling, capacitor failure either directly or because the electrolyte leakage damages other components, or because of battery leakage. Some of these modes reinforce each other --- fan failure brings more heat which makes capacitors fail, etc.