First of all there is no "solution". But before we even get there we would need to see what your definition of "solution" is.
Second, UBI is a horrible short and long term solution. The money for that needs to come from somewhere and without people creating jobs you have no way to generate revenue to pay for a UBI.
Third, if the average person doesn't have a job to go to what are they supposed to do? Who created jobs? The "proletariat"? Not only is the answer "No", it's "hell no"! People with capital create jobs but if they will be punished for making money they wont do it. You punish business at the expense of the people you claim you want to help.
Lastly why the hell are you talking like a communist? It makes you sound silly.