Japan got destroyed by the Plaza Accord.
Also their industry still survived despite the massive bubble popping etc. Instead of making fabs they build most of the important tooling and chemicals in semi-conductor manufacturing. Namely the photo resists and the specialised tooling for inspecting and repairing masks, including the insane EUV masks.