I understand the point. But France has done this and ended up with giant ghettos filled with si much crime that no emergency services whatsoever go there anymore.
In the US, they built giant housing projects like this where poverty was concentrated and the same thing happened. Crime installed itself in those projects and these neighbourhoods became dangerous ghettos.
Picture 1 is not the solution you think you want.
The condo building where I live is not so big. And it was built with 25% dedicated to social housing where poor families and underpaid workers can live comfortably in an apartment unit as big as my condo unit, which I paid nearly $400k CAD, for the price of about $650 CAD per month. This allows them to integrate with everyone else and live with everyone else and near where all the jobs are.