Stephen Yiu was among the first wave of investors to see the potential gains from artificial intelligence for companies and their share prices, but switched tack last year.