The economic reality is that, thanks to smart machines and global trade, the well-paying, middle-class jobs that were the backbone of Western democracies are vanishing.