What’s the evidence saying pay will revert back? I doubt it personally.
The demand for people who can write software slows down, but we aren't anywhere near a peak plateau where software engineering jobs aren't needed. Silicon Valley isn't going to turn into the rust belt anytime soon.
What's changing are the types of skills needed, and engineers are imminently poised to do that. Unlike factory workers our skills are malleable and constantly changing.