Centrally planned economics and a universal basic income will allow us to cope with the major labour challenges presented by automation and AI. Universal basic income is the provision of a basic level of wealth to all citizens of a state regardless of their work status.
While Artificial Intelligence will take some of our jobs, that is not the end of the story. In reality, AI will create more jobs than it takes away. Furthermore, universal basic income will stabilize the economy so that those who do lose their jobs have time to find another one-possibly in the technology sector itself. In San Fransisco, a robot owner tax policy striving to fund a universal basic income is currently progressing quickly. Company-wide policies, like Amazon's promise to fund 95% of the cost of retraining warehouse workers if their jobs are taken by AI, is also a viable alternative that suggests the AI "takeover" will be limited 
In theory, this is a fantastic idea, but stable universal basic income is not yet possible. According to Bill Gates, “Even the U.S. isn’t rich enough to allow people not to work. Someday we will be, but until then, things like the Earned Income Tax Credit will help increase the demand for labor.”  Simply put, the timeline for universal basic income becoming a viable option and the transition to Artificial Intelligence may not match up. This would leave workers without jobs, as AI replaces them.
Rejecting the premises