Adaptation limits ecological diversification and promotes ecological tinkering during the competition for substitutable resources