Algorithms that set prices for vending machines, apartment rents, and hotel rooms are drawing federal antitrust scrutiny as regulators argue these systems can function like old-fashioned cartels, even ...