Machine learning in Apple products