My basil recovered nicely after I started shading the pots. As for the tomatoes....there not dead yet. I can see all the little buds of tomatoes but they won't grow. It's like they are stuck in 1st gear. Watered, pots shaded, fed and plenty of sun. I guess it's just too hot.
I did read somewhere that tomatoes don't like it 100'F plus. The article said that established fruit will continue to grow but new ones struggle. It suggested planting early yielding varieties, so the fruit has set before the temps get over 100'F. I can't say if this is true as it doesn't get that hot here.
Sorry I was going post the article but forgot all about it. I would not give up on them, they may have a second burst.