Walmart has begun to lay off corporate employees amid inflationary pressures. This comes after it slashed its profit outlook and warned of lesser spending by customers, last week.