A British tourist who was stabbed a month ago during a mugging in San Francisco has succumbed to his wounds.