Apple do this too with their products - but in more subtle ways.
For instance, try to play a video game on MacOS. While Vulkan is available on every playform, it's not available on MacOS or iOS despite the fact that it would take an engineer at Apple a weekend to implement (figuritively speaking). Apple are also killing off OpenGL support for MacOS.
Generally, Apple deliberately build a "dependence ecosystem" for their consumers on the product side while also actively preventing engineers from using portable technologies on their platforms.
The fact that MacOS is as open as it currently is is a miracle and I am sure executives hate that.
They create the fastest and most ergonomic mobile hardware on Earth but, outside of web browsing, video editing and some engineering workloads, there's very little you can actually do on it.