A bin lorry has been destroyed after a lithium battery dumped as part of a household's rubbish caught fire, a council says.