Taiwan leverages its semiconductor dominance to deepen alliances as the US and EU push for greater chip investment.