McDonalds has very strong incentives to reduce labour costs to zero. This started with very clear & limited roles which meant cheap rates, but now means reducing the number of employees. At $5/hour it's cheaper to train and manage people to do the job; @ > $15/hr you can justify an army of machines and a few technicians, even if your ice cream machine seems to be broken a lot of the time.
If you poke at McD's corporate jobs in IT, you'll find a bunch of jobs in machine learning, audio processing and similar for an AI drive through project.