If Sharuum the Hegemon is put into your graveyard as a state-based action immediately after Sharuum the Hegemon enters the battlefield (most likely due to the "legend rule") it can be the artifact card targeted by its own ability.