The automaker will invest $406 million in three Michigan plants to build electrified pickups and SUVs.