On limitations of learning algorithms in competitive environments