I’ve had Windows computers run on the same hard drive for over 5 years and never reformat themselves. The hard drive didn’t fail the software returned itself to new out of the box condition and dumped all saved material in the process. In fact the computer is still running on the same hard drive it’s just running Windows 7.
I've never heard of a linux computer returning itself to a new 'out of the box condition'. I can't really imagine by what mechanism that might occur.