Top military officials in Gabon, central Africa, appeared suddenly on national television on Wednesday and announced that they had ended the regime of President Ali Bongo Ondimba, whose family has ruled the country since 1967.