With the right policies, AI can reduce inequalities and expand opportunities, writes Paschal Donohoe.