Investors is a broader term. Shareholders are investors but an investor is not necessarily a shareholder.
For example, the bank that provides funding is essentially an investor since it invests in our project but it does not hold any shares so the bank is not a shareholder.