A spate of top engineers have left Apple for Tesla and other companies over the last few months. What's going on?