The Limitations of Optimization from Samples