S&P 500, Nasdaq hit fresh 2023 highs as Tesla rallies