Katie Ledecky won her ninth Olympic gold medal in the women's 800-meter freestyle final on Saturday, defending her place on top of the podium for the fourth straight Games.