The BBC has revealed more than 500,000 TV licences disappeared in a year as fewer households watched content requiring one.