Microsoft shares went up after reporting its billion investment in ChatGPT maker . Tesla shares rose after CEO Elon Musk told a court that he had funding to take the electric carmaker private in 2018.