An example of AI as a service is the use of natural language processing (NLP) services provided by platforms like Amazon Web Services (AWS) or Google Cloud. These services allow businesses to integrate NLP capabilities, such as text and speech analysis, sentiment analysis, and chatbots, into their applications without having to develop these capabilities from scratch.