Well, this trend will reverse, no way out of this. We either find solutions (voluntary degrowth for instance), or physics laws will stop us, and from that point the societies us two live in collapse.
But who knows what will happen ? So far, we developed new tech not thinking about those physical limits. That state of mind is definitely changing, especially among students. With that said I also tend to be pessimistic, and I don't think things are moving fast enough in the right direction. But if I do not hope for that, try to find where I can use my skills (and what I love to do) to help tackle those challenges, what do I do ? Because yes, egotistically, I still want to work in CS.
When it comes to ray tracing and fluid simulation, I wonder if I should start with old papers and implementations, because it may be easier to get, or they are so outdated that it would be a waste of time.
I think that this topic is quite complex, and generalities are to be done with care.
Yes new technologies such as 5G and autonomous cars (electric or not), when doing a comprehensive analysis of those systems, will bring more problems than solutions. But technology has so many other shapes, even in the field of CS. Would working on software to simulate and visualise atmospheric phenomenons be working toward more problems ? Working on optimizing the use of an electric grid ?
Even 5G and autonomous cars are not problematic by themselves, its how we plan to make, deploy and use those technologies that will lead to even more troubles.
To sum up my view, I think that tech is not the problem, but tech providers and users are.