Taiwan har gått med på att investera motsvarande drygt 2 300 miljarder kronor i USA, rapporterar CNBC.