There is no question that iPads are the easiest solution, but it’s rarely the best solution, and it’s certainly not necessary. Humanity survived for thousands of years without having iPads for kiddos at restaurants.
Mine were very happy to draw, read picture books, etc. at that age.