Days before taking office, Donald Trump said his company would donate all profits from foreign governments to the U.S. Treasury, part of an effort to avoid even the appearance of a conflict with the Constitution’s emoluments clause.