The artificial-intelligence capex boom is fueling gains for South Korea and Taiwan and rewiring the region’s growth model.