The Black Ferns have scored three late tries to steal a dramatic 22-21 win over Australia to take out the World Rugby Sevens Series event in New Jersey.