On device is everywhere?

This might be a small question, but what does he mean by 20+ AI models running when you take a picture? What are the AI models? How does that work?

Also here, he mentioned that when we write on our keyboards on our laptop it uses on device AI, which I’m bit confused. How does that work? I thought there were no AI involved when we type via keyboards.