Tesla stock rises on bullish outlook, but posts wider Q3 loss