Sanrio has apologised after its merchandise line with Japanese TV series Vivant drew criticism.