Tyson Foods is preparing to idle two of its biggest beef plants and shed thousands of jobs, a stark response to a cattle shortage that has pushed the U.S. herd to its lowest level in nearly 75 years.