Theresa May refused to rule out cameras on the Irish border while giving evidence to a committee of MPs.