Australia's most decorated Olympian of all time, champion swimmer Emma McKeon, has announced her retirement from the elite level.