There's one by our office that is only about 3' from the dispenser. It's disturbing to see stuff like this.
Most of the soda machines here have the refrigeration mounted in the bottom area.
The thermal protector (Klixon), strapped right to the compressor, is a source of arcing.