AIUI, The ISS can be serviced from the ISS if the appropriate supplies and personnel are sent up, but it doesn't have the delta-V to zip around other orbits servicing other satellites, so it is okay without the the shuttle for itself, but doesn't substitute for it for other things needing orbital service.
Hubble is different. It's not like it's a ship that you can board. So you need two things: Ability to attach yourself to Hubble, and ability to leave Dragon to perform a spacewalk. It's not clear whether you can just have everyone in the Dragon suit up and open the hatch. And even then, you still need to attach yourself to Hubble somehow. I think you can via the port... but then you can't leave. Unless you go out the other door? Can you open that from the inside and get out with a space suit?
My rambling isn't meant to be an actual answer. It's more to show that it's wayyyy harder than "Let's just send up some people to Hubble!".
[0] Except Soyuz I guess their orbital module would allow you to keep the descent module pressurized but it's still way outside the design so there's no telling if the module would remain operational.