Brisbane secured their first win in Melbourne since 2016 with a stunning fightback against their grand final rivals.