Thousands of homes and businesses were without power in Massachusetts on Thursday as roaring wind gusts whipped the region.