I don’t see any problem here. They spend money, effort, time to develop their products. Why do they need to give that products for free to everyone, or even their competitors?
Others can choose to use or not use vscode. If they concern about the telemetry, build themselves or use other code editor then.