I think San Francisco's former "bath houses" served a different function than that being provided by these showers. They were shut down at the height of the AIDS epidemic.
San Francisco has homeless shelters and a program to get transients into permanent housing. The homeless who need showers are the ones who refuse the program.