I have experienced it first hand, while I was attempting machine learning. I was trying to make a machine learn how to do flips in 4 wheeled vehicle.
In my first attempt it learned to die as fast as possible. It learned that since doing that reduces its existence penalty.