Hochul said homes, a chemical factory and an Amazon warehouse were at risk. Videos posted to social media showed flames shooting into the air and columns of black smoke rising above roads.