Apple CEO Tim Cook has announced he is donating most of his wealth to charity before he dies. The boss…