Where does that return come from? It doesn't materialize from thin air. That money was generated by a laborer before it was shuffled to the various shareholders.
It comes from directing resources to generating capital. Those resources will be some combination of goods and services bought from others or provided by the investor themselves.