John Ternus is expected to lead the company through its shift toward artificial intelligence and is seen as someone who “will bring fresh energy.”