Robots are making their way into New York City’s restaurants.

A growing number of dining spots throughout town are using machines to prepare all manner of food and drink, in many cases replacing the employees who would normally handle the task. Think gizmos that can do everything from slice a sushi roll into eight uniform pieces to mix the perfect happy-hour cocktail.

And...