Growing threats of military action from China against the self-ruled island of Taiwan could create shockwaves across the global tech industry—particularly if the turmoil affects the Taiwan Semiconductor Manufacturing Co., the world's largest maker of computer chips.