Apple Inc. has shut down some elements of its effort to build an electric self-driving car and laid off several dozen employees, according to a person familiar with the matter.

The changes to Apple’s secretive initiative, code-named Project Titan, were implemented by Bob Mansfield, a veteran Apple executive who took over the project in July, the person said Friday. Project Titan’s overall head count remains essentially the same, the person said.

...