A US survey suggests confidence in the economy has sunk to the lowest level in more than a decade amid high prices and stagnating wages.