Electric car company to invest $2bn in artificial intelligence start-up as part of pivot away from auto market.
Tesla, Microsoft and Meta headlined huge earnings late after the stock market paused at record highs.