If AI does everything, then the price of everything drops down to its energy cost; the bulk of the economy will be human-made objects and other human-provided labor.
The key factor here is rate of change. If all jobs disappear tomorrow, we're going to be in serious trouble. If it takes 100 years for all jobs to be done by AI we'll have plenty of time to adapt.
If history is any guide, we will have time. Remember electricity: it took decades for cities to be wired with electricity and even more time for electric gadgets to replace human power (e.g., electric toothbrushes).
Current AI is already at the point where I don't think a human needs to type code ever again. Human architecture is necessary; human taste is necessary; human direction is necessary; humans reading code at some level is still necessary. But writing code? No.
Even then, ten years from now there will still be jobs where humans type code. There won't be many, just as there aren't many elevator operator jobs, but it takes a long time for things like that to change.
Yes, eventually, AI will be able to do all jobs. But it will take decades for the shift to happen, and that will be enough time for the economy to change and adapt.