Technology usually creates jobs for young, skilled workers. Will AI do the same?

At any given time, technology does two things to employment: It replaces traditional jobs, and it creates new lines of work. Machines replace farmers, but enable, say, aeronautical engineers to exist. So, if tech creates new jobs, who gets them? How well do they pay? How long do new jobs remain new, before they become just another common task any worker can do?