Not sure if this is the kind of thing you're talking about, but the big cloud providers offer a host of AI/ML APIs for a range of different things.
For example: https://aws.amazon.com/machine-learning/ai-services/ https://cloud.google.com/products/ai