They're streetcars, and San Francisco has quite a collection of them from all over the world. They're painted in their original color scheme.
Number 1072 in your shot was built in 1946 and is from Mexico City. A listing of all the streetcars can be found on the Streetcar.org
There are two streetcars in service from Melbourne, one built in 1929 and the other built in 1946.
Interesting to know! I was so oblivious to all this I didn't really take notice of anything when I was there.






