TL;DR: ethnicity is not citizenship
Switzerland has never been homogeneous and the recent immigration to Switzerland is very different from regular immigration elsewhere.
It is an exception in the west, mostly due to low taxation for rich people or political reasons.
for the same reasons in Lichtenstein 33℅ of the population is non-citizen and not surprisingly in Monaco an astonishing 75℅ of the residents are foreign born.
If Italian people go to Switzerland they are counted as immigrants, but the Italian ethnicity is native in Switzerland, same goes for German and French people.
The same thing is not true for Chinese or Korean people in Japan.
Also 1℅ of Japan equals to 15℅ of the Swiss population.