Would this be the end of capitalism?
It depends on how everything unfolds. I think full automation is the inevitable end result of capitalism. Corporations will be forced to automate their work force just to compete. And they'll still need a consumer base for their products, which is why I think UBI will at some point become a necessity.