Koalas will be extinct in New South Wales by 2050 without urgent government intervention, a year-long parliamentary inquiry has said.