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.