From his perspective, though, he's just responding to how society chooses to allocate capital. It's not his fault that society apparently values crappy websites more than hospitals, and if he didn't do it, someone else would have.
Same argument goes for Hitler though. If he didn't do it, there'd be another fascist leader exploiting the masses' love of fascism in early 1930s Germany.