as a German who LOVES root beer, it is kind of an acquired taste and most of the friends I introduced to root beer don't like it.
You can actually buy root beer in larger supermarkets here but there isn't a guarantee that its in stock always and I am sure its a low sales volume item).
So IMHO root beer has its market share in the US because it got popular at a time when there wasn't such a great variety in sugary drinks, kind of a founder effect, and that is not replicated in a different market, as competition is hire so people don't get to drink the 3-4 cans of root beer that I guess are necessary to get hooked.