China shares shed early gains to end lower on Thursday, as more than 300 start-ups slumped earlier in the session after regulators moved to curb speculation on the tech-heavy ChiNext board.