Beijing pledges to make domestic demand its main economic driver as escalating trade war with the US hits exports.