Elon Musk’s threat to leave California could cost Tesla $1 billion — and be worth it