The Juno II rocket launch in 1959 spectacularly failed when the rocket did a U-turn after launch. The cause was two diodes touching due to vibration. After that, rocket components were often potted in plastic to prevent similar problems.
Same for plenty of vehicles, early ECUs were often potted and the ones you see today sometimes still have a resin coating on the component side to harden the device against vibration.
Video of launch: https://www.youtube.com/watch?v=885as-VE50g&t=1446s Discussion of diodes: https://youtu.be/885as-VE50g?t=1688