Adam Bandt was ousted by a "riptide" of swing votes, which he blamed on the so-called Trump effect.