You can tell that this isn't about Justice but about bullying Musk because those two companies have nothing to do with each other legally speaking.
Are you saying Brazilian law doesn't recognize limited liability? Nevertheless, there is no insolvency here. The judge is choosing to pierce the corporate veil.
Usually these decision comes when a company closes to not pay the workers all their benefits left, and the judge then goes back to all the other companies that the shareholder is on, and is part of the "economic group". In Brazil legislation, what matter is if the judge decides that the companies are part of the same "economic group".
Any measure that discintentivises the rich from owning real world things is a step in the right direction.
Are you just assuming the worst?