The overall number of U.S. beef and dairy cattle has shrunk to its lowest level since 1951. Drought, rising operating costs and increased consolidation are among the causes.