First, there are different types of failure. Electrical, the motor or circuit board failures. Mechanical like the head crashes, and finally data corruption issues.
I had a number(approx 4) of seagate DM series that the motors kept failing. Nothing can be done about this, except get a different model,brand,series. The RMA process takes too long and your without a hdd so suffering this process repeatedly is a unacceptable pain. Also see the backblaze link in the comments for reliability data on some drives.
I finally gave up, and started transitioning to SSD with no moving parts to fail.
Extremes in temperature, vibration, voltage fluctuation, static electricity and even dropping it.(Dropping for a laptop that is ON is particularly bad. However, these extremes are not usually encountered in a normal home.
Static electricity bad enough to be an issue would have to persistently shock you every time you touched a metal part of the case.
Vibrations bad enough to do this, you would probably feel as it would be vibrating your whole house. Sure if you have 20+ hard drives you need rubber grommets, but very few people are doing this at home.
How many PC/laptop are we dealing with here and how much do they move around? Do these devices stay inside your house?
Use either a software meter that provides access to your motherboards sensors, or get an actual volt meter with digital readout.
Make sure the 3.3v,5v, and 12v sources are all within 5% and don't experience any major fluctuations. Maybe even get a UPS and put it on the device(PC/laptop) that fails the most to see if that helps. Bad power supplies with noisy electrically current could be an issue. However, top of the line power supplies, usually can handle all, but the worst conditions. Even then a top of the line power supply would shut the computer off it protect it against extreme conditions.
I had 1 unusual case, When I touched the case it felt like I was getting shocked. That has to be resolved by an electrician, grounding fault.
I also had a case where a user bought a 3rd party laptop power supply that was so cheap and poorly made it actually scrambled the image on the projector, on the same circuit, when it was plugged in.