Korea’s efforts show how hard it is to develop homegrown AI models and break a reliance on U.S. or Chinese tech giants.