Our current global scientific and engineering output is staggering, and it is continuously accelerating. If there was a global 'manhattan project' focused on this, then it would happen.
Global economic output is $80 trillion. There are 100s of millions of scientists, engineers, programmers, technicians in the world. Aside from the ideological complexities, which are probably intractable, it seems like it would be pretty easy to me.
What would it really take to provide basic housing, food, water, clothing, energy, and medicines to 7 billion people? Robotic automation, free / cheap energy, and access to natural resources.