Sean Duffy, Donald Trump’s pick to lead the Department of Transportation, said he would allow safety investigations into Tesla’s advanced driving technology to proceed, possibly setting himself up for a clash with a top supporter of the president-elect.