Roger Federer reached a seventh Australian Open final, and 30th grand slam final overall, when South Korea's history-maker Hyeon Chung retired injured.