Well, it's indirect, but they're still ultimately responsible for it. If there weren't any control, why would anyone invest?
That's a good question (not sarcasm, it might come off that way). I actually do have a small investment yet I never planned on exercising any control and only control a trivial number of shares. There's a fair bit of academic debate on these theories of control and how shareholders relate to companies.
Personally I think there's a lot of freeloading off the small group of big players that do exercise control. I have a certain amount of faith that they won't vote in a way that's seriously adverse to my interests as a little fish.
Sooo, it's the job of the board of directors to select who the CEO (an officer in Corporate Law-speak) is.