Couldn't find an exact figure, but this got me an approximate figure.
Which goes to show that tons of people don't mind going through minor hoops to get into the app store.
Does the OP have any proof that "Fewer people have the opportunity to write code and share it"? If anything, it's easy these days to get a professional development environment for pretty much any programming task, be it a pro version of Visual Studio for free or a free professional game engine. And people use them, as is evidenced for example by the huge growth in the number of PC and mobile games being published. Not to mention that consoles are a lot more open than they were in the past, with lots of indie games being available, and a normal Xbox One can be used for console development.
So even disregarding the sensationalist "PC is dead" angle, I feel that pretty much everything in the OP is not only unsubstantiated, but the opposite of the truth.