Philosophers ask a similar question to yours: https://en.wikipedia.org/wiki/Ship_of_Theseus
The question is then where you define the boundaries of a system and it's uptime. At least from my recollection for mainframes they defined uptime based on the execution of batch jobs and availability of services not the OS/Hardware which if it crashed often involved Big Blue coming to investigate WTF happened and how it happened since System Z machines are designed with so much redundancy that you can swam RAM modules without interrupting the workflow.
Today with RAIM (RAID for Memory) IBM System Z machines even support an entire memory channel dying without interruption.