Nazi Germany was a unique animal. Empires traditionally aren't sectarian. The Romans added foreign gods to their pantheon and employed Romanized soldiers and administrators from conquered lands outside of the Italian peninsula as a means of knitting the empire together. The Germans decided they did not need non-Aryans in the empire and decided to kill them all.
Both Germany and Japan were on the hunt for natural resources.