CIA Director John O. Brennan has apologized to leaders of the Senate Intelligence Committee after an agency investigation determined that its employees improperly searched computers used by committee staff to review classified files on interrogations of prisoners.