Elon Musk is asking a court to move his Tesla shareholder trial to Texas from California over "local negativity."