Taiwan shares end up as TSMC, AI stocks move higher : vimars