interesting you say writers and artists would survive over programmers when AI has practically threatened all writers and artists livelihood as of recent.
20 years? Maaaaybe.
Next year? No way.
Maybe when SD can do high res and soft focus.
Because you have not waited long enough. AI generated pictures were just born yesterday.
The vast majority of people working full time as 'artists' are paid to quickly produce "average-ish" work to spec and on time. Nobody (to a first approximation) hires artists to produce capital A Art.
If you want to get semantic about it, we could say the illustator and graphic design jobs (often done by artists) will be lost rather artist jobs.