If we do continue to work, the only scenario that makes any sense to me is if we do work for self-satisfaction rather than need. There's still going to be enjoyment to be had in refining skills and pursuing goals.
The historical solution (eg in the context of manorialism) was that if you couldn't afford to have a family, you didn't (and if you did, the kid got shunted into a monastery or the equivalent and was prevented from reproducing), so the "surplus" peasant population effectively shrank, and the English lower classes ended up being the descendants of downwardly-mobile gentry, who mostly found employment in different sectors.
That solution breaks down in the context of modern welfare systems.
All jobs require a certain level of intelligence to do, that much is true, but the call for creative thinking does vary from job to job, and there are plenty of jobs that are largely repetitive.
As for the historical solution, I'm sure UBI and population control aren't mutually exclusive, though I don't think it'll ever fly that population control only applies to the poor, if it's going to happen it should be applied across the board (i.e. to the rich too). This has the added benefit of making it in everyone's interests to find better solutions to overpopulation than forcing people not to have kids (it should ideally be voluntary if it's ever needed).
The problem with AI isn't that it's going to get rid of all the people in any industry -- it's that it's going to get rid of 90% of them, skewed towards the lower skilled and entry level positions. If this happens across enough industries at the same time, it's a question of what the less talented and younger will do to be part of the economy.
[0] https://www.google.co.uk/search?site=&source=hp&ei=uGnoV6-AC...