Nissan sold its headquarters building for 4.5 billion yuan, with a Chinese company among the final buyers.