I mean, yes and no. A lot of that is modern tools are going to be more carefully engineered to operate as close to failure as possible, as to advertise more power with a cheaper device. Thry have small wires and encoder sensors that can be prone to failure.
Yes, the driving electronics are also sensitive, however magnetic transients are less of a deal on the scale of a cordless drill. When dealing with huge motors, those can be significant multi-kilovolt spikes that make solid state components Very Very Mad.
But the brushless motors in a drill also do not have brushes that wear down rapidly in a very dirty/dusty contaminated environment like older power tools would. So it’s a bit of a 50/50.