The half-homeless protagonist of the Treasure of the Sierra Madre had at least a cage where he could lock his suitcase in. 2020's San Francisco is objectively worse than 1920's Tampico.
In Tokyo you can lock your luggage still in various places. And you can get a cheaper and higher standard cubicle type of room superior to these beds, with more valuable free or cheap amenities. I believe there’s a “nomad visa” in the works as well