It was of course way cheaper than any reasonable electric car 2 years ago too, still probably is, and charging infrastructure was terrible where I live back then, still mostly is (but getting better).
I think the years and years of PR around their top tier reliability helps a lot too. I guess the biggest gripe is the looks of their cars, they're basically boring, kind of ugly and utilitarian. But all of the above together kind of nails a segment of car buyers which is "I don't want to give a shit about my car, I need it to work well, not burn the planet too much, not cost a lot, and get me where I need to go", which is probably a pretty large segment.