News Apple’s director of machine learning has quit over company’s return to work policy