Oof... That's really unfortunate. Not only does this death require being stuck at least two times, but other times after first only carries a chance of death, meaning that your sim could survive with lightning bending powers.
If I remember correctly, Erratic trait could prevent this death. In addition, if you manage to get enough Satisfaction Points, get the Storm Chaser trait.