The tech with its associated redundancy and legal framework is nowhere near forcing a single pilot to lose their job.
There are still millions of truck, taxi, train and boat drivers out there. When they start losing their jobs in significant numbers maybe then it’ll be 20 years before plane drivers should get nervous.
The Ts and Cs being a pilot will make the job unbearable well before AI takes it.