It may be that the core problem of production is one that was already solved by hardware at the end of the industrial revolution. Software can now be used to solve the 2nd part of the problem, which is distribution.
>In technology's "invisible" world, inventors continually increase the quantity and quality of performed work per each volume or pound of material, erg of energy, and unit of worker and "overhead" time invested in each given increment of attained functional performance. This complex process we call progressive ephemeralization. In 1970, the sum total of increases in overall technological know-how and their comprehensive integration took humanity across the epochal but invisible threshold into a state of technically realizable and economically feasible universal success for all humanity
-Buckminster Fuller, Grunch of Giants
Our means of production have already served to produce a renewable surplus of all the physiological needs of humanity (food, water, shelter etc). The problem is in distributing it fairly which is why almost 50% of the world population struggles to obtain these necessities.
>The white man knows how to make everything, but he does not know how to distribute it.
-Sitting Bull