SEOUL—As China and the U.S. race to dominate artificial intelligence, countries are increasingly wary of becoming overly dependent on the superpowers for a technology that could profoundly affect ...