Sure, the USSR had a terrible safety record; but in addition to being communist, they were corrupt as hell and a totalitarian state to boot. I'm sure that the Chinese mining has a terrible safety record, too, for the same reasons.
It seems like it wouldn't be hard to test the hypothesis that "socialism = unsafe conditions"; just compare mine safety in the US with that in, say, Swedish or German mines.