In fairness, from the article it's not actually clear whether the server literally had an uptime (as reported by the OS) of 18 years, or whether it had simply been in constant service (modulus power cuts) for 18 years.
Or some kind of bypass switch.
Or a really fancy UPS, such as might be used in a hospital or laboratory.