In areas with high demand the constraint on building housing is zoning, not cost of construction. You can build in masonry up to eight stories high as long as you have elevators. With steel frame much higher obviously. Everywhere the cost of housing is substantially above construction plus land costs the reason is zoning.
Even a lot of that is hugely inflated at the various steps to get to the consumer, in developing countries basic staples can be astonishingly cheap by western standards. Even semi-developed India you can have a decent diet for roughly $4USD a day: https://www.numbeo.com/food-prices/country_result.jsp?countr...
On the issue of skilled work, if i was a male with no skills or family, I'd be becoming a truck driver right now due to all the doom and gloom which already has led to shortages. The truth is, a lot of these automation problems are very hard to solve.
There is no argument that automating these jobs will incur tremendous human suffering by taking away jobs. However, in the long term I don't want anyone to be 'harvesting lettuce'.
I don't see how that's gonna work :(
But you're right, it will be a hard problem to solve if we continue to separate wealth by country. At the end of the day we'd need a planetary economy to really deal with it.
Technological developments have always driven the human species forward - all of this is nothing new. The difference now is the extremely high populations (enabled by technologies invented elsewhere in the world) in some countries with excessive unemployment levels.
Genetic engineering and molecular biology will also enable us to identify the genes which contribute the most to useful traits, and to expand access to those genes to a greater portion of humanity
So. What do you propose?