China has marked the anniversary of 1937 massacre by Japanese soldiers, as tensions soar over Taiwan.