US entrepreneur Bill Gates has apologized to the staff of his Gates Foundation for tainting the image of the philanthropic group through his links to convicted sex offender Jeffrey Epstein.