South Korea wants to be a top A.I. hub — its memory chip dominance could be an advantage