Well, Twitter isn't worth much, or at least not what Elon paid for it in 2022, it just carries on like a zombie under a different name and investors got bailed out by being rolled into xAI and then the SpaceX IPO.
Though your point that Twitter's value was never in the code stands.