Bill Ackman lost about $4 billion on his investment in Valeant Pharmaceuticals. It's a notable example of the risks even seasoned investors face.