Stuxnet damaged gas centrifuges by introducing a subtle change in rotational speed over time, eventually the motors failed mechanically.
https://en.wikipedia.org/wiki/Stuxnet