Yes, people can ignore that warning, but considering it is there and considering all the steps they have to make, at that point it is up to personal responsibility, not making the entire society worse to avoid telling non-technical people that they screwed up.
After all that control doesn't disappear, it just moves to someone else's hands - and guess who has no say whose hands those will be.
As a result, people often have a lot of incentive to try to get other people to make the same choices they make. This explains a lot of the jousting over frameworks: The more people use the framework you use, the more bug fixes, the more talent you can hire, the more courses, books, and blog posts you can depend upon, &c.
Without agreeing with you that society as a whole is better off without Apple selling me a locked down device, I can certainly empathize with your desire for fewer people to make the choice I'm making.
https://www.theguardian.com/money/2020/mar/11/my-kids-spent-...
And kids shouldn't be able to buy things with their parents' cards, which is something completely unrelated to a platform being open or not.
Apple store is not more secure because it's a walled garden, people will always find other ways to scam other people
Apple could just make sideload possible declining responsibility
It doesn't sound very hard to me, for a company like Apple which employ some of the best talents in the World
For example, see how Apple is in total control on when iOS devices are obsolete by requiring some minimum version. You can't keep your device usable and useful by installing a program that supports it from another source, you can only install it from Apple and Apple's requirements limit the iOS versions you can target.