This is the key sentence
A WorkSafe investigation found that the machine was not interlocked, which would have stopped it from starting while the guarding was open.
As someone who works in heavy industry and programs machines similar to this type of gear.....wow.
The machine had been imported from China and had not been assessed by an engineer in NZ, was not certified and did not comply with NZ standards.
I have seen this also. But you can't just install gear without getting it certified to ASNZS4024 (the machine safety standard)
Worksafe should fuck these guys.