It will depend on how the shares are set up - if your 1 share is a separate "class" than the founder's shares as defined by the articles of incorporation, then yes it could be possible. If you've watched The Social Network you see (vaguely) how it played out for Eduardo Saverin and Facebook.
Is this a risk all investors undertake or are there safeguards to prevent this?
No it's not a risk for all investors, or even most investors. If you own common shares in a public company there's not a way for them to just dilute your shares. Corporate actions would dilute all common stockholders equally. Additionally, if something were done fraudulently to dilute shareholders, the affected shareholders could sue for damages.
These are very broad generalizations just to assure you that you do not need to worry about this if you are considering buying shares of a publicly traded company.
If you are getting shares of a startup that you are considering (or already) working for, then yes it might be worth having someone look over the corporate documents to make sure what you are getting actually has value (not just theoretical value, but value that you can actually realize by selling them if you want to).
It's also important to distinguish between diluting the percentage of ownership (which is usually not bad) and the value of that percentage (which is). If you own 2% of a $100k company, and the company doubles its shares but also it's value (via the income from those shares) to $200k, then your percentage is reduced to 1% but the value ($2k) does not change.