An eyewitness said the blaze had spread up to the roof of the building and had caused it to collapse.