US President Barack Obama has acknowledged responsibility for his party's nationwide defeat in the midterm elections.