I mean, that’s how a lot of immature markets without regulations work, until laws are added to say “you can’t do that for this kind of transaction”.
That’s why many states have lemon laws for used car sales, to prevent exactly that kind of behavior in that market.
Sales of corporations often don’t have consumer protection style regulations, because consumers don’t often buy corporations.
The assumption is if you’re spending enough money to buy a corporation, you’re a big boy and can pay a lawyer to review your contracts.
So, if you’re spending $54B to buy a company, you should have your lawyers closely review the terms of the contract. Every lawyer I’ve heard that reviewed the contract Musk signed is gobsmacked by its terms and would have strongly discouraged Musk from signing the contract as written, because it’s so one sided in Twitter’s favor.