Artificial intelligence is changing how people search and book travel, and hotels are entering a new era of digital competition.