McDonald's is using artificial intelligence to change drive-thru menus in real-time based on the time of day, weather and trending menu items.