Walmart has won patents that will give machine learning and other automated processes more sway over prices, pushing the US ...