Two companies have been fined after a man was killed when he drove a specialist machine into an unprotected pit in a factory floor during the construc