When McDonald’s first opened for business in the 1940s, its workers stood at physical counters, its burgers and fries were listed on paper menus, and its customers paid cash to its human cashiers.