Well if the company goes bankrupt, theoretically other companies can buy e.g. 3M's patents / processes / subsidiaries and continue their production. THe company isn't unprofitable, so it would be sold off in parts and the proceeds of the sale (theoretically) would go towards settling lawsuits.
Unlikely though. Nobody would want to buy the company whole as that would include all of this liability. Selling of the individual parts to raise funds for paying the debts of the unsold parts of the business entering bankruptcy seems like the only way to go
I didn't say it removed the liability of the company. It just means that the company that is left after selling off its profitable assets has the burden of the liability but with nothing but literal toxic assets. They can use the proceeds of the sales to start paying down the debts.
The assets sold would obviously not be the toxic assets.