Uber CEO Dara Khosrowshahi bought about $10 million of company stock on Thursday, sparking a rally in the shares.