What will happen when every job becomes automated?

Donald Trump has removed Biden’s order that addressed risks of AI

Assuming that AI develops at its current pace what’ll happen? AI can already program but what’ll happen once it improves and is able to do days worth of coding within seconds? What about Games or Movies once AI becomes capable of generating them? It can already generate life like videos so not even live action stuff are safe, it can even mimic any voice. What about art which it’s also capable of generating? What’ll happen once it becomes indistinguishable from what humans make.

Once Robots are created like the ones Tesla has no hands on jobs like cooking or factory work will be safe either.

What’s the end game though? Does this mark the end of capitalism and labor? Will the future be like the one depicted in Star Trek?