The opportunities created by the rapid emergence of artificial intelligence technologies have come with growing uncertainty among investors about the disruption long-dominant companies might face.