Mr. Summers’ departure from the artificial intelligence company’s board followed revelations of his communications with the disgraced financier Jeffrey Epstein.