You’d think one line of work that would be safe from the robot takeover is human resources. But some companies are working on it. A recent New York Times investigation laid out how Amazon’s automated systems for managing warehouse workers led to unreasonable scheduling, delayed benefits and inadvertent firings. Marketplace’s Amy Scott speaks with Peter Cappelli, a professor of management and director of the Center for Human Resources at the University of Pennsylvania’s Wharton School. He explains what a traditional HR department used to do that’s now done by software.