'Draw a line in the sand': scientists find birds near extinction