As Tesla reports quarterly earnings, investors are focused less on cars and more on Musk’s robots and rockets.