Tim Cook donates 50,000 shares of Apple stock to charity