It may just be considered an idomatic expression. It also could have originated as a clarifying statement that eventually had the comma dropped. In otherwords, people might have often said, "the planet, Earth" just like they would have said "the planet, Venus," and the comma eventually was dropped because the expression became so common.