China's social credit system, due to be rolled out nationwide in 2020, aims to reward and punish people for their behavior.