They will continue to pay you as long as their children still get a job with otherwise useless degrees. And as soon as that’s gone, they’ll stop paying you and THEN you’ll lose your job.
Dear professors: AI is not going to take your job. The unfortunate reason for this is that most of the outside world generally thought your research was useless before AI came along, and viewed you as a glorified teacher. They will continue to think this, and continue to pay you.