Carmakers are building batteries with non-union labor, while EVs’ production may require fewer workers overall.