The electric-vehicle company is entering a period of heavy investment, and investors will need some patience.