An AI-led semiconductor boom has transformed South Korea’s economy, but speculative finance, soaring valuations, and currency pressures trigger memories of past crises.