The Facebook CEO apologized and said he would be "happy" to testify before lawmakers if it's the "right thing to do."