Sounds like Google Duplex, but I guess they never expanded the tech beyond restaurant reservations.
But on my Pixel now, on some phone trees it shows a UI with numbers and choices, and even predicts ahead for the other choices so you aren't forced to wait. Very handy!