Presumably, a truly superintelligent AI in a utopia scenario could figure out a way to enable people to continue working, even if the work doesn’t actually contribute anything, if it is really the case that work is essential to human wellbeing.
Now you might say “but those would be fake jobs.” If so, I have bad news about how many present-day jobs are fake jobs.