AI has 3 possible outcomes: you choose which one fits best.
The first thing you need to realise is that from the inception of Science Fiction writing there has been this notion that a future with machines will lead to a less complicated lifestyle for the human race as machines undertake and relieve us of most of the tasks that humans have to perform routinely in their daily lives in order to survive. This leads to a life of leisure for humans. Well this is a misconception. What needs to be understood is that this Utopia was just a fictional ideal that in reality would never happen or only partially happen for those that have control of the machines. Capitalist society is unquestionably both exploitive and opportunistic. So when AI takes over a role the humans that it is replacing are redundant. In the future as job competition increases because of roles being taken by the machines the humans being replaced will become an underclass without means to improve their situation and without opportunities. Governments will either partially support this underclass with welfare benefits or simply abandon them.