Taiwan’s economy surged on booming AI and chip exports but traditional manufacturers struggled under US tariffs and a strong local currency.