Australia's Glenn Maxwell smashed a match-winning 201 not out in a knock for the ages against Afghanistan in a World Cup thriller that took the five-time champions into the semi-finals on Tuesday.