Retailers are using artificial-intelligence software to set optimal prices, testing textbook theories of competition. The regulators are starting to pay attention - “If professional poker players are having difficulty playing against an algorithm, imagine the difficulty a consumer might have,” said one former antitrust attorney.