Sunderland manager David Moyes has apologised after being caught on camera telling a female reporter she “might get a slap”.