Much like automated machinery, it could in theory free the workers to do more important, valuable work and leave the menial stuff for the machine/AI. In theory this should make everyone richer as the companies can produce stuff cheaper and so more of the profits can go to worker salaries.
Unfortunately what happens is that the extra productivity doesn't go to the workers, but just let's the owners of the companies take more of the money with fewer expenses. Usually rather firing the human worker rather than giving them a more useful position.
So yea I'm not sure myself tbh