It doesn't really need to be fixed because the failure was on the older version (Oct 2023) of the patch when everyone on this thread already has successfully installed the newer version of the patch (March 2024).
And before that, the same error message happened when the newer October 2023 version was installed successfully and the older May 2023 version failed to install.
Of course, it failed because you already have the newer version of the patch already installed.
And sometime in September 2024 when the newer version of KB5001716 gets released, you will see the same error message again that the older March 2024 version would fail and the newer September 2024 would successfully install.