Bill and Melinda Gates sold their shares in Apple and Twitter before announcing their divorce