HSINCHU, Taiwan—In late 2016, an engineer at Taiwan Semiconductor Manufacturing Co., the world’s largest contract chip manufacturer, received a call from a Chinese rival company asking if he would be interested in a job as chief engineer to advance work on chips used in mobile phones and game consoles.

The offer was notable, according to a court in Taiwan, because the engineer had no expertise in that type of chip.

What...