Theresa May has said she is "sorry" for Conservative MPs who lost their seats after her General Election gamble backfired.