They can buy the plant and other assets and patents WITHOUT buying the company. If they bought the company it would mean they would be assuming the liabilities.
They aren't doing that. This is a bankruptcy liquidation. The assets will be sold and then the money is going to be distributed to the creditors. They will start with the secured and then move down the list.
At the VERY BOTTOM of that list are the common equity holders of the "company".
Unfortunately, they will not see a thing as the money will be gone before they get through the unsecured creditors, assuming the unsecured see anything themselves.