Elon Musk was the reason one of Apple’s most famous developers left Tesla after only six months