Sanrio has apologised after its merchandise line with Japanese TV series Vivant drew heated backlash in China.