The president hopes more foreign firms like Germany's Daimler, which operates this plant in Detroit, will invest in the United States.