You just design your camera for exactly that environment!
Earth facing satellites have cameras that are designed to be taking images of something that close travelling past that fast whereas Hubble is designed to image stationary objects over very long periods of time ........
Oh, why am I even bothering. I'll just ask someone far smarter than me. Please Mr Randall Munroe, can you explain what happens when you point Hubble at the Earth.