TSMC is the world's leader in production of advanced semiconductors used for artificial intelligence, and the investment would help bolster Trump's pledge to make the US dominant in AI