All that has gone by the wayside, of course. Part of the problem here is that Musk had so much money he could afford to burn tens of billions of dollars on a weird personal fixation. [1] A problem that the market has happily started to correct, [2] but perhaps not soon enough to save Twitter.
[1] One possible explanation is here: https://defector.com/i-was-almost-elon-musks-twitter-voice
[2] He even set a record! https://www.npr.org/2023/01/12/1148634966/elon-musk-guinness...
Twitter learned that they really had to take harm reduction more seriously if they didn't want to be known for things like that. I believe that their improvements there were part of what set them on the path to their later profits: https://www.netcials.com/financial-net-profit-year-quarter-u...
And as far as losing money goes, their "lean and mean" approach isn't doing so well. Ad revenues are reportedly down ~40% as the same time Musk is going to have to come up with billion-dollar interest payments.
As an impartial non-Twitter user, I think it's safe to say that neither version of Twitter was healthy for it's platform or users.
I think your claim on profitability is flat out wrong. If you think that's the case, what are the exact numbers you are imagining that would make Twitter profitable?
YouTube is on a similar precipice. People think it's irreplaceable because YouTube displaces every competitor. In truth, Google has simply monetized the distribution of video content so well that nobody else has a reason to compete. Streaming video on a competing platform is almost always a shitshow. But, eventually YouTube will fail or implement a heartbreaking change that forces everyone off. Maybe Larry Ellison will make a bid for it, and we'll complete the Lex Luthor arc for American billionaires. Either way, it's another "too big to fail" service that is sure to fall apart at some point.
If you want to avoid situations like this, take ownership of the media you like and don't let your voice rely on other people's platforms.