Pilotless airliners are still a few decades away, but I do expect to see Co-pilot/FOs starting to be replaced by AI by the end of this decade. It might be just FOs with far reduced duties or expanded single pilot smaller aircraft as the technology moves in, but it's certainly already being developed into the latest new cockpit designs. Question then begs as to where the single pilot gets their experience and mentoring from.