Are you really making a thinly-veiled argument for ethnostates? Careful, your racism is showing.
Society isn't an algorithm that should be optimized for max efficiency/productivity anyways. A completely unregulated market like you allude to is like an ouroboros. It will consume itself because unchecked growth is unsustainable.