Report: Tesla has reached a deal to build factory in China