I made a "one" commandblock contraption that I will release in a few days, that causes structures and mines to collapse. The chance of such a collapse taking place can be altered.
It uses a recursive flood fill algorithm that selects random nodes, and expands from there. It also stops randomely at some time (chance can be altered).
Audio: Disintegrating
Artist: Myuu