Former YouTube CEO joins Giving Pledge, promises to give away most of her $780 million fortune