Nearly a fifth of European beetles that live in old and hollowed wood are at risk of extinction.