DuPont’s move is meant to help it tap into the rapid electric-vehicle growth and advanced auto electronics. The chemicals giant also plans to sell is Mobility and Materials unit.