A fire ripped through a museum in Brazil on Sunday, threatening its collection of more than 20 million items from fossils to Egyptian artefacts.