The Samsung 9100 Pro 8TB wins in 6 out of 7 comparable specs. Its biggest advantage is Capacity (300% better).
WD Black SN770 2TB wins in 1 spec (MSRP: 88% better).
Recommendation
Choose 9100 Pro 8TB if you want the best overall performance — especially capacity.
Choose WD Black SN770 2TB if msrp matters more to you.