Even if the problem that markets are trying to solve is NP hard, this doesn't mean anything. Market forces are always subject to random factors. For practical purposes, randomized approximation algorithms are actually a great choice for tackling NP hard problems.