Worker dies after becoming entangled in machine