The problem is that there are really only a few large platforms: windows, Android, macOS and iOS. These are also owned by three mega corps. The issue here is that free market mechanisms break down in the small competitor count limit.
Keep in mind, we already pay them for dev tools each year, just like how we pay Microsof for visual studio.
If us devs were smart, we’d organize and have our apps go on a maintenance break until Apple and Google remember what a computing and platform is without 3rd party devs.
You’re already seeing that with car and headset though.