A group of senior Gabonese military officers appeared on national television in the early hours of Wednesday and said they had taken power, minutes after the state election body announced President Ali Bongo had won a third term.