IMO pilots are there in case shit really hits the fan, or birds hit the turbofans: I doubt computers would be creative enough like Sullenberger and decide to land on a river.
And 2 pilots means 2 brains that can divide the workload...
And 2 pilots means 2 brains that can divide the workload...
https://en.wikipedia.org/wiki/Iran%E2%80%93U.S._RQ-170_incid...