CUPERTINO, CA—The company behind the iPad, iPhone and other popular consumer electronic devices has decided to pull the plug on its electric car project. According to the Reuters news agency, Apple Inc. has stopped working on the much-anticipated vehicle, shifting engineers and resources to artificial intelligence technology initiatives.