Taiwan was hit with a steep 32% U.S. tariff despite recent commitments to invest $165 billion in U.S. chip manufacturing.