Apple has been the top buyer of AI startups since 2017.