Apple Inc. has revolutionized music and phones. Now it is aiming at a much bigger target: automobiles.

The Cupertino, Calif., company has several hundred employees working secretly toward creating an Apple-branded electric vehicle, according to people familiar with the matter. The project, code-named “Titan,” initially is working on the design of a vehicle that resembles a minivan, one of the people said.

An...