The rest of your comment suggests tney have yet to fully succeed.
McDonalds tried for 3 years. They found that roughly one in five orders required human intervention. AI created bigger problems than it solved --- like driving away customers.
Now at first brush, while I don't think that AI could replace fast food workers, McDonald's obviously also went Hard Mode when they partnered with IBM to provide the AI.