Tesla’s biggest outside shareholder has invested in a Chinese Tesla rival