Officials said Houston, a major center for the nation’s energy industry, had suffered billions of dollars in damage and would take years to fully recover. Oil and gas companies have shut down about a quarter of their production in the Gulf of Mexico.