The number of giraffes have declined by as much as 40 per cent since the 1980s driven by illegal hunting and an expansion of farmland in Africa, according to the Red List of endangered species.