Cathie Wood's ARK Invest sold most of its Nvidia stake just before the chipmaker kicked off a rally that added $585 billion in market value