Respectfully, this is a trick question. The driver isn't exclusively there to drive, they help tourists that ask "Can I get to X, or do I need another bus?". They help wheelchair users, they know to wait extra time when cyclists need to collect their bikes from the front bus rack. They know when to pull poles (and reattach them) on trolley buses in Vancouver (where I hail from). They report fare-dodgers, they radio control saying their bus is too full to pick up anyone waiting at the stop, and most importantly: they write down what goes wrong during their day, so maintenance knows what to fix when the bus is at the garage.
Seriously, Translink runs on a 28-hour day for bus service. If you want someone to test every single system, especially someone that knows how a system should work vs how it does work vs how it failed on this particular bus, you already have an employee for the job; one that's doing customer service and working around any shortcomings at the same time.
I would not count on bus drivers being replaced by AI any time soon.