From airlines to food-delivery platforms, many businesses use high-tech strategies to adjust their prices online.