They actually have these type of “pods” at regular hostels in SF. I stayed in one for a couple of weeks once when I was new to the city. The noise, especially people coming in late, the germs (I got sick during my stay), and the lack of privacy is pretty bad. I can’t imagine living in one long term and I’m lucky I don’t have to, but if it’s your only choice (or you’re supremely cheap) then I guess it’s better than the streets.
Now if you double the price, exclude all the poor people, and call it a “cool invite-only hacker house”, that’s an entirely different thing!
There will always be some level of stratification of wealth, but a society that is unable to provide individual housing for people is in a sad, sad state.