It seems reasonable to me that you could absolutely purchase a business unit from a bankrupt company without any associated liabilities. Of course, you'd pay the full price for it (as compared to the discount you'd be able to negotiate if you accepted liabilities). And, of course, the proceeds of the sale would go to the creditors before the shareholders.