The world number one all-rounder chipped in with a priceless contribution in his side's 62-run win over their Asian opponents.
For the first time since the 2003 World Cup, South Africa failed to reach the knockout stages of the tournament.
Mohammad Shami finished the game with a hat-trick, only the second Indian since Chetan Sharma to do so in a World Cup.
Nuwan Pradeep picked up his first wicket on the final ball of his spell, which turned out to be the winning moment for the Lankan Lions.
Mushfiqur became the third Bangladeshi to score a World Cup hundred, but that wasn't enough to save the Tigers' from the Aussies.
Captain Kane pulled off a stunning six off Phehlukwayo in the last over to seal the fate of the match.
Rashid Khan registered the worst figures in World Cup history by a bowler and the worst by a spinner in ODIs.
A powerful batting performance from the Asian side saw Jason Holder's men get crucified.
This was Australia's 9th consecutive win against Pakistan in this format.
Williamson's fifty and Jimmy Neesham's fifer drove the Blackcaps to yet another comfortable win.