GM to spend $7B on electric truck, battery cell production