The president says a "red wave" of Republican gains did not materialise, as Congress hangs in the balance.