MacKenzie Scott, the former wife of Amazon founder Jeff Bezos, has donated $2.7bn to almost 300 charities that work in areas of education, racial inequality, and the arts.