Nio to build factory in China for budget EVs