China's yuan has fallen to its lowest level since 2008 amid an economic slowdown, a capital flight, and a stock markets as well as a property crash.