the Wall-e future and one predicted in Ridley Scott's Prometheus suggests once you have AI robots then human beings really don't have to do anything other than personal recreation. Using this model, AI robots should also be capable of managing all human affairs and manufacturing themselves and use wireless to create a hive mind (not really that difficult to achieve given we already have wifi).
Isaac Asimov's Three Laws of Robotics are a set of ethical guidelines programmed for robots. They are: A robot may not harm a human being or, through inaction, allow a human being to come to harm; A robot must obey the orders of human beings except where such orders would conflict with the First Law; A robot must protect its own existence as long as such protection does not conflict with the First or Second Law.
Elaboration:
First Law:
This law prioritizes human safety and well-being. A robot must always avoid harming humans or allowing them to be harmed.
Second Law:
This law emphasizes obedience to human commands, but only if those commands don't violate the First Law.
Third Law:
This law allows robots to protect their own existence, but only as long as it doesn't conflict with the first two laws.
Zeroth Law:
Asimov added a Zeroth Law in later writings: "A robot may not harm humanity, or, by inaction, allow humanity to come to harm," which places the well-being of humanity above that of any individual.
So long as AI has these programmed as some type of failsafe we humans should be safe as the AI hive mind becomes sentient.