I have had the privilege in the past of maneuvering a boat. A small boat, but a boat nevertheless. Similarly driving and therefore driving lessons have made it possible for millions and millions of people including me to transport our own stuff from A – B.
There is pretty unlikely to be a realistic replacement to using shipping in the foreseeable future due to the sheer bulk that can be transported. Likewise air transport will always have its place due to the speed possible. Then of course cars and lorries are unlikely to be replaced for obvious reasons.
Therefore it will be unlikely to mean an end to ‘pirating’ in the foreseeable future. Such massive cargoes (such as oil) can hardly be put on a plane, but hold such high value.