Right now restaurant work is too complicated for robots to do it as accurately and quickly as humans. There are hundreds of micro-skills that a prep and line cook needs to perform very well in a restaurant and most of those are specific to the individual restaurant. Mcdonalds will be the first to be automated since they serve the same stuff at every location in America, but expect regular restaurants to be the last places to be automated.