Three firms fined after worker dies in wall collapse