Assuming each cow has an annual consumption of 8K pounds of macadamia nuts, and assuming an average yield of 40 pounds per mature macadamia tree per year, with a typical spacing of 25 feet between trees:
You would need approximately 200 mature macadamia trees and 98,174 square feet of space to produce enough nuts to feed one cow per year.
Don't even get me started on the beer.