I think it benefits Trump for a few reasons.
First, call it sympathy voting or rally around the flag, most people have empathy (even some republicans) and that could give Trump a bump, just like it did with the similarly idiotic right wing populists Bolsonaro and Johnson. Remember that they also botched the covid response, like Trump.
Second, it will make it harder for democrats to push the case against Trump, which is largely based on how imcompetent and anti-democratic Trump is. Those attacks will seem mean if Trump is hospitalized, essentially handicapping democrats messaging.
Third, Trump is losing this election. He needs a gamechanger. This might not be it, but it COULD be. Worst case for him is that he still loses. Best case is that this turns it around.
Overall, unless he dies, I don't see how this is bad for Trump.
The “HOW DARE YOU ATTACK THE PRESIDENT WHILE HE IS SICK” pearl clutching will be strong from the right. It’s absurd, but it’s still a PR battle that the Biden team can screw up if they aren’t careful or smart.