For years, investment by the chemical company Dow had been outward bound, primarily to the Middle East, in the quest for access to cheap natural gas as a raw material for its products. But the advent of inexpensive gas in the United States pulled it back home. The company has since committed billions to expanding or building new petrochemical facilities in the United States.