I found a ´roleplay´ way to avoid getting artifact but it has no long terme effect on the adventure:
In the Nautiloid, ou can kill ShadowHeart from afar when she is in her cell by making the container of Illithid fluid near her explode (I tried it to see if it could break the cell to free her ... :D)
In one playthrough, I went to collect her loot and had the discussion between Lae Zel and Tav about it.
In the second playthrough, i played alone and I rushed directly to the illithid vs. devils fight without looting her.
On the beach, Shadowheart body was dead close to the temple as when you don´t free her, i stayed afar and did not take the artifact and ran to the goblin camp to see how cinematic goes without it.
Once the cinematic about the 3 characters starts, you end up being sent to the night camp (not sure if its supposed to look like a flashback) where you finds the artifact in your stuff (forced cinematic so i dont think you can avoid it), then once you take it, you are sent back to the cinematic abour the 3 characters and the rest goes as normal...