China shares end lower on profit-taking; tech, resources lead slide | Sharefundss