Permanent residents have some access to welfare, but there isn’t a straightforward path from work visa to green card.
Who is suggesting US welfare has to support 7 billion people?
That's the result from advocating free movement or no borders considering stats such as 52% of Africa's youth wanting to relocate to Europe or US. Unless you dismantle the welfare state. But it's possible that I misunderstood what the person meant with the 20th century comment.
Opening US borders for a free-for-all would be of course a disaster. But even that is a bit of a stretch to say that entire world’s population would move to the US.
People used to be highly mobile (and continue to be). The Americas were settled by millions of Europeans and Africans before the United States even became a country. South Asians were moved to Africa during the colonial era en masse. Vikings settled all over Europe and even Istanbul. The Huns, Goths, Romans, were all on the move.
The whole welfare system is based on the requirement that it only applies to a selected few and adults today support the elderly so they can retire under the assumption that children will pay the adults for their retirement. If you open up the welfare system for 7 billion people that haven't contributed, it will all collapse.