That was my thoughts too. No text editor is worth $3B, and probably not even VSCode is. So I think this deal was about buying more customers/users and buying "relevance". OpenAI lost it's monopoly and they're worried they might become irrelevant so they basically just purchased something popular to remain relevant.