The chief financial officer’s move to step down is the latest example of high-level churn at the electric-vehicle company.