This is an interesting issue. The existence of national borders and the restriction on the free movement of people reduces the efficiencies achieved with specialization. Imagine how more efficient it'd be if Taiwan had easy access to US semiconductor talent. Similarly, it'd be more efficient if the seasonal migrations that help agriculture didn't happen and those people actually lived near the crops they help maintain.