South Korea to spend billions to strengthen the country's technological edge.