Why are most rhizobia beneficial to their plant hosts, rather than parasitic?

Why are most rhizobia beneficial to their plant hosts, rather than parasitic?