Apple hired a Google inventor who had been working on electric-vehicle charging