Companies need to hire lawyers because we live in a society that places a high value on playing by the rules and regulations that come down (idealistically) from an elected body.
So if I am a company that "has to" hire lawyers and accountants, I only "have to" do so because there are rules in my country about how I (for example) represent my financial situation to unsophisticated investors so they don't lose their shirts.
You can see how that's a different form of "have to" from hiring someone's uncle so your business doesn't get closed by the corrupt government?