I don't really know why you people kept on trying to "fix" a problem that is clearly a Microsoft Windows Update server problem. As my second screenshot (the long dark one) illustrates, this kb5001716 error doesn't prevent other updates from installing (the non-highlighted entries), so there is no need to "fix" anything.
This kb5001716 error message has been around since 2022 and it's well known to come back everytime there is a newer version of kb5001716 comes out. This time, it was the older February 2022 version failing to install in Nov 2022 (when the computer already installed the newer version).
https://answers.microsoft.com/en-us/windows/forum/all/kb5001716-wont-download/0d8567b7-1bd5-4080-ab7e-efab4ad03e0b
The error message goes away automatically when Windows Update server clears their cache and no longer offers you the older version --- every single time.
As your thread illustrated, you got a successfully install message for the newer version and an error message on the older version. Then you immediately tried to fix the problem yourself. I am telling you that this error message will go away automatically after a few days when their update servers clear the cache. This KB gets update twice a year so it is well known bug showing up every single time. Microsoft will eventually figure it out that you already have the newer version installed and no longer offers you the older version. You just didn't wait long enough.
https://answers.microsoft.com/en-us/windows/forum/all/i-am-not-able-to-install-updates-and-it-says-to/478d3f0c-0a79-4b7b-a5cf-a4fb5d963d11