A scorching stock rally in China’s state-linked companies lost further momentum Wednesday, as investors cashed in on the robust gains recorded by financial behemoths and infrastructure builders.