Your solution is the short-term one, maybe not even that. In the long run, your community is much better off producing what it does best and trading with others for what they produce best, rather than everyone trying to do everything at some mediocre level.
Your solution is like Microsoft building its own furniture and cars and flying its own planes, rather than making software and buying the furniture, cars, and air travel from those who are expert in it.
Let's use your example, Microsoft. Companies have different incentives than communities or countries, but I think we can make this work.
For many years, Microsoft only sold software, and let others who were experts in hardware make the hardware and install microsoft on it. Later, they realised that it was strategically important to manufacture their own consumer hardware, and now you have the Surface lineup. Maybe in the near future, they will decide they need to start manufacturing their own chips. If they do that, it's not going to be cheap, especially in the short term. But it might be what they need to do to keep their dominant position in the market.
What a bizarre things to say. First of all, are you an economist who can comment on other people's sophistication? Second, who cares? The merits are what matters, and you agree it's "broady speaking, correct".
The world is three meals away from anarchy, being dependent on the caprice of global markets for food is a great recipe for getting regime-changed by starving people.
The evidence shows that vastly overstates the risks: It hasn't happened or even come close to happening yet. In fact, name any place that has turned anarachic due to food shortages.
The modern global markets are not capricious, but the most efficient, effective distributors of resources in the history of the world.
Nationalism makes you poor.