Katie Ledecky capped another stellar Olympics by becoming only the second swimmer to win an event at four straight Summer Games