If you need to borrow a billion dollars to buy the company, then you
need a billion dollars to buy the company. The fact that you can use the cash the company holds to pay off the loan is irrelevant. All you did was liquidate the company. That doesn't mean it had zero value. It means that it had literally a billion dollars in value.
Your broken logic could be applied to literally anything.
> Imagine company A, which has no significant cash, only a $1B tire manufacturing business.
> How much money do you need to buy this company?
> The answer is zero.
> You borrow 1B.
> Buy the company.
> Sell the time manufacturing business to pay back the debt.
> Manufacturing capacity has no influence (with exceptions and edge cases) on a company's enterprise value.
Or how about this?
> Imagine a used Honda Civic, which is a car that costs $10k.
> How much money do you need to buy this car?
> The answer is zero.
> You borrow $10k.
> Buy the car.
> Sell the car in parts on eBay to pay back the debt.
> Car parts have no influence (with exceptions and edge cases) on a car's value.
The fact that you can take out a loan to buy something, and turn around and liquidate the parts of that thing to pay back the loan does not mean the thing has no value.