The crypto billionaire, Sam Bankman-Fried, has pledged to donate the majority of his fortune to charitable causes.