No one can do this. The life of a drive can't be guaranteed.
You've just had really bad luck. That, or you're not taking care of your gear.
Of the 10+ external hard drives I've had over the years, I've never had a drive randomly die on me. The one time a drive has died on me is when I accidentally plugged a laptop power brick into an external HDD enclosure and fried the TVS diode. Even then, once I snipped off the TVS diode, I was able to recover my data.
What I have seen, a lot, is other people ruining their external hard drives due to carelessness. Usually it's the enclosure which is stuffed and the actual drive is fine. The most common thing is people not bothering to unplug the micro USB cable from the drive, before they chuck it in their bag. This will, of course, eventually ruin the connection.