TSMC's foreign investments are good for Taiwan, official say