Instead of milling around aimlessly in pens, as most cows do, William Taylor’s herd is put to work. As they eat, they walk on an electricity-generating treadmill.