Apple’s Zadesky, head of electric car project, to leave company