The American gymnast made history at the world championships with gold in the individual competition, her 22nd career medal at the event.