There is nothing 'miraculous' about Cyperpunk's so-called comeback. They started from a pretty poor starting state at release and simply spent a ton of time and effort fixing what they could. It's still arguably not that great a game and still not what it was originally heralded to be, either.
But more importantly - people *wanted* to give CDPR some benefit of the doubt. People *wanted* to turn around and praise CDPR again.
But thats exactly why it is "miraculous". It is a statistical outlier. This game could have been a huge disaster for CDPR.
Out of pure luck and people wanted to give it a chance, it got saved. The conditions under which Cyberpunk recovered as project aren't normal.
The game got enough second chance and purchases that CDPR gradually ironed out the huge issues. It may not be an amazing game, but it got enough support to get an after-launch polish for a length amount of time that other games would have already sunk into a financial red line until then.