Blu-ray has been a successful format, not at all like what happened to LaserDisc. Given the increase in the speed, reliability, and availability of broadband over the last decade (hence streaming) plus the aforementioned acceptability of DVD, Blu-ray's window of opportunity and overall potential were considerably narrower and more limited than DVD's.
However, if this were the reason for the demise of the console, we could expect large volume sales of the (loss-leader? or close to it?) console, and limited game sales.
Instead, unfortunately for Sega and ultimately, everyone, we saw limited sales of both the Dreamcast console and its games - a sign that the console itself was simply defeated by the PS2, rather than piracy.
Another argument here is that the PS2 suffered from a similarly trivial "swap magic" exploit just after release, where as long as the disc drive never registered a disc ejection, running code could simply be switched out for another piece of running code.
By the time Dreamcast piracy was common place, the console was already cancelled.