Retailers increasingly use digital price displays, which they can change with the touch of a button. Across the economy, executives trying to maximize profits are effectively running tests to see what prices consumers will bear before they stop buying.