A haulage firm has been fined £250,000 over the death of a worker who was killed by a falling metal frame in a shipping container.