The throne was not always passed from father to son, but sometimes among close relatives, which means that an emperors lack of children was not a problem for the continuation of the dynasty. Furthermore, emperors have been figureheads for most of Japanese history, so there was no significant benefit to usurping the throne as there was in Europe. People who wanted to control the country wanted to be the emperor's advisers, and later the shogun.
Luckily, the state-worship of the emperor as a descendant of Amaterasu and Jimmu has been abolished after Hirohito declined being divine after WWII. Maybe now is a good time to take this one step further and to abolish the monarchy once and for all?
Tradition and such can be very important for cultural identity, and should not be overlooked in any discussion about whether or not it should be abolished.