West Ham manager Manuel Pellegrini says he was shocked by his side's performance as they lost 4-2 to League One AFC Wimbledon in the FA Cup.