US food manufacturers including PepsiCo, Mondelez International and Hershey have closed offices and factories as Hurricane Sandy moves closer to the country's eastern seaboard.