Consider carbon footprint, accelerating “progress” toward ecological collapse, building tech used by authoritarian governments, etc.
People of all classes come to SF for similar reasons, the resources.
Instead of being afraid of solving the homeless problem for fear of attracting more homeless, SF Ought to focus its creativity on solving the problem in a way that works for everyone.
The best solution is, give the homeless free housing.
Since SF industry is extracting / creating wealth (depending on your political slant) from all over the world, then it should be ok with people from all over the world coming in to have basic needs met.
Create shipping container / tiny home villages; provide robotic grown organic foods; deploy scalable mental health and community building tech; etc.
Deploy that tech to other surrounding cities which would alleviate some of the pressure for folks to move to SF if they are homeless.
Repeat the process across the USA.
Repeat the process around the world and alleviate the resource gradient.
You want to take a dent out of the universe? Solve homelessness and resource scarcity.