Plus, some parts of plants do "want" to be eaten - namely fruits, as a strategy to spread seeds.
(As an aside, I highly recommend Bill Bryson's "At Home," which discusses these topics and many more related to how we came to live the lives we do -- it's a great companion to A Short History of Nearly Everything.)