Omead Afshar once ran Tesla’s office of the CEO and oversaw construction of Tesla’s 10-million-square-foot factory in Texas.