That's a risk to invest into an ICO, but your money can be multiplied in such investments. If you carefully analyze project that you are going to invest in, you can minimize risk.
First of all investigate team and founders. Founders should be real persons with successful projects.