Observations of the unusual counterpart to the X-ray pulsar AX J0051-733