A huge fire on Wednesday destroyed hundreds of shops and injured several people in Indonesia's largest textile market.