You don't even need to be a wealthy country. Tram service is excellent in Zagreb, capital of Croatia, where they've had electrics trams for more than a century:
https://en.wikipedia.org/wiki/Trams_in_Zagreb
To someone from a place with modern, well-maintained light rail, I imagine Bay Area streetcars seem as quaint and outdated as old Ford cars in Cuba look to Americans.