A huge waste ground near Madrid where millions of tyres have been dumped was on fire Friday, releasing a thick black cloud of toxic fumes that officials worry could harm residents nearby.