You’re describing the world we already live in. “technicians who are just there to fix redundant AI systems in case of failure” is one of the jobs of a modern pilot. It turns out that troubleshooting the redundant systems of a modern aircraft while it is in flight is also the hardest part of being a pilot, as it requires knowing every system inside and out, hence why no amount of automation will threaten their jobs.
I can easily imagine that at some point, pilots are replaced with technicians who are just there to fix redundant AI systems in case of failure.