If shareholders do not demand the money as a dividend and prefer instead to have it kept in the company's control, then so be it.
Shareholders in Apple want Apple to be able to make big investments or acquisitions and are willing to let the money sit there rather than take it as a dividend. This would not be true for most firms.