Ray Dalio, founder of $169 billion investment firm Bridgewater Associates, said he was optimistic on the Chinese economy in the long term.