The factors that make Taiwan an economic powerhouse — its successful technology industry and artificial intelligence-driven chipmaking — are also the ones making it vulnerable.