Throughout history, technological change - whether in the form of agricultural improvements in the Middle Ages, the Industrial Revolution, or today's artificial intelligence - has been viewed as a main driver of prosperity, working in the public interest.