China is purging senior officials in its financial sector as part of efforts to stabilize the economy.