Erdäpfel is used in many dialects and has plenty of variants.
Actually the various different words for potatoe and their distribution across Germany, Swiss and Austria is linguistically quite interesting (see this map [1]).
The legend is in German and roughly translates to (from top to bottom):
I suppose this "earth apple" formulation coming up in several languages is partly because potatoes are from the New World, and Old World languages won't have a "traditional" word for them. Whereas in English it's basically a loanword.
It also makes more sense when you realize that 1) pomme in older French meant fruit generally, not apples specifically, and 2) sweet potatoes were introduced to Europe well before white potatoes were. So "earth fruit" seems fitting.
a term falling out if use does not make it foreign. even if no longer common pommes frites is still a french term. the french wikipedia page also does not give any indication that the term is no longer used.