For decades, pricing was one of the most closely guarded - and most static - decisions a business could make. Today, artificial intelligence is changing that in real time.