At least 10 people died after flames ripped through a hospital in Rio de Janeiro on Thursday evening, firefighters said.