You’re assuming that leaders of these countries are largely benevolent. They’re optimizing for their own interests. Bringing manufacturing into these countries will only introduce new competitors to their rule over time. Think of Saudi for instance, they can bring manufacturing and they import workforce if necessary from India , Africa, Asia and Europe but they won’t. They’re happy with the oil sector because that’s easy to control.