Three firms fined over demolition worker death