China shares fall as chipmakers retreat; tech stocks weigh o