Google does basically the same with Android. It’s the standard way of locking you into a free “open” standard platform.
Definitely annoying but IMO the trade-off is worth it. Would you rather VSCode didn’t exist at all? Because that’s the alternative.
Obviously Codium also wouldn’t exist without VSCode.