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.
Honestly this is the best case for Republicans because if Trump isn't in the picture a lot less people will be motivated to vote. Pence seems like he's able to fake being a decent person to most of the less observant voters.
Though obviously dying would certainly be bad for Trump himself.