Somewhere in the next month or two Twitter is supposed to introduce "tweets" with 4000 character limit, so competing.
I don't think he ever intended to purchase Medium, but he did tweet about purchasing Substack at some point. But then again it's Elon, he tweets a lot of things he never seriously intends on doing and he just killed Revue (more or less Medium/Substack competitor).