A good lawyer is not just knowledgeable of law, but of people. He needs to get 12 people in front of him to agree with him. And he may even be actively misleading them when he's defending a someone whom he knows to be guilty. This comes down to reading people, reading reactions, and understanding what each of those 12 people needs to hear to have them act like he wants. Not coincidentally, the most common background of politicians: lawyers.
I'd argue that the most likely scenario here is not closing the divide but widening it. Instead of public defenders, poor people will just get the bot, while those of means will get lawyers. It's akin to tech support today. In the not so distant past, it was easy to get a human on the line. Now in many cases unless you're a "special" client, or get your issue on the front page of some big social media site, you get the bot. And it sucks.