Lots of software licenses have “non-compete” clauses that forbid you from using it to develop a competing product. Wouldn’t surprise me if there was a compiler or two out there with that restriction, most likely niche languages.
We are discussing Chinese models. Now look at how much foreign competition the Chinese government prevents in their domestic market in other industries.