I was going to ask if TSMC just have some weird earthquake fetish.
Realistically it's probably just that Japan is politically stable and safer than the other options in the area, while remaining fairly close to the rest of the supply chain.