Maybe, or maybe the pirates will evolve to use larger ships capable of offloading cargo once these robo-ships become standard.
The thought of a few guys on a small skiff taking over a massive container ship was pretty absurd not too long ago but yet we see it happening more and more due to the financial incentive.
If the cargo stolen is worth it, they'll find a way.