A man has died after a workplace accident in Ellerslie, Auckland.