A company in the United Arab Emirates is poised to take over significant operations at six American ports as part of a corporate sale, leaving a country with ties to the Sept. 11 hijackers with influence over a maritime industry considered vulnerable to terrorism.