Liberal challenger Azam Dabbagh has conceded a heated by-election despite thousands of votes still to be counted, handing Labor a win.