Japan, on the other hand, is xenophobic and has discouraged immigration very heavily. Combine that xenophobia with historical matters: sneak-attacking an industrial powerhouse in 1941 in of the most ill-advised, terrible wars, losing repute by massacring hundreds of thousands of civilians. Meanwhile thousands upon thousands of their own best young men and civilians were killed by the vastly superior man-power and industrial might of the US. Japan was hobbled by WW2 and has never fully recovered, consider the greatest catastrophes of their history were only 80 years ago still, namely losing a generation of youth, their cities being fire-bombed, their savings being depleted for phony war bonds, and being the only country to ever be nuked. Japan is simply not a good demographic comparator for the USA.
80 years is really quite a long time. Germany also bounced back rapidly in the second half of the twentieth century to become a major industrial power.
So far it's been a steady state, but it's unknown if that will continue into the future.
To solve the economic issue of maintaining growth, the US/EU moved to the issue of how to maintain a peaceful but diverse and divergent society.
I see Japan's partial bailing on immigration as a sign they don't see any good way to get through it, and we can see a lot of today's US internal fight as the result of not paying enough attention to how hard it is to adapt a society to the new challenges.
I wonder if there would be third ways, with economic powerhouse moving their "growth" to other countries without a stigma of stagnation or exploitation.
Look at Japan. They are 10 years ahead of us. It will be tough and depressing until the economic system adapted and prices normalized. On an opitmistic point, humanity will progress and when an economy cannot sell more stuff then it has to sell better stuff.