Apple has an ML research group. They do a mixture of obviously-Apple things, other applications, generally useful optimizations, and basic research.
https://machinelearning.apple.com/