Why will the Japanese get replaced? Immigrants will just blend in and build a future Japan.
Just like Japan of 2020 is not the same as Samurai Japan of medieval times. Times change, societies change, demographics change. That is just the way things are. It's better to harness it than to reject it to the detriment of progress. See: The story of America becoming a superpower.