It's actually more like 1 trillion of value was "lost" when the stock dropped, and $9 billion was gained by some (and equivalently lost from others) for being right about the stock dropping.
Stock dropping is not literally a loss of any underlying good. It is a "assessment of how valuable something is". So when we say "omg we lost $1t in value" is not quite right. It's "we (everyone betting in the stock market) now collectively understand the value of this thing (company in this case) to be $1t less than assumed previously"
In this case, massive swings in value mean that the assessed value of a thing is very uncertain. I'd say this is extremely true for spacex, where in theory many people think it could be worth a fortune, or nothing, and no one can ever know the "true" value.
This is because there is not such thing as "absolute value" in the real world. And when it comes to things like stocks, "value" is just "hypothesized current value", which is a whole bunch of things combined: long term value of company, plus short term expected movement, even things like "who wants to own more of this this in the next few milliseconds", make up what a thing is estimated to be worth right now.
Assuming the stock market is some oracle of absolute value will make the world look insane. Seeing it as estimated value at one point in time in a very uncertain world where nothing has "true" value and all value is just relations between people and the things they want and the things they own and can exchange, is much closer to reality.