Entrepreneur Andrew Yang said immigrants were being used as a scape-goats for automation in factories during the second Democrat debate on Wednesday. (Video credit: CNN)