Automation causes "distress, hurt, and harm" for U.S. workers, Trump says.