I agree it's all about cost-benefit analysis.
Modern day aircraft have ultimately made airline flying a safer and less demanding environment for the pilot, and that has ultimately led to lower T&Cs.
Consequently, I don't think they necessarily will need to remove flightcrew but just keep lowering their cost, which they have already succeeded in.