More modern battery chemistries are less hazardous as well. LFP for example is both cheaper and more stable, just at the cost of energy density. Which might be fine if you have a giant ship that can handle a large volume and mass of batteries to save on fuel costs.
for sailing yachts that makes sense. They would use wind for most movement. While in harbor though they want the finer control that being under power allows - they don't need high speed/high power then though. They also don't spend a lot of time in this situation.