After decade-long odyssey, Apple to wind down its electric car effort