Cheng Lu had been at the helm of the self-driving company since 2018 and led TuSimple during its IPO.