Economic selection in markets and industries