In general I agree with you, but i would point out that the conversion from diesel to mechanical propulsion is far less efficient than from battery to an electric motor. So the comparison would be more like 500kWh of batteries. But yeah, that is huge. The top of the line $100,000 Tesla Model S only has 85kWh. Most people estimate batteries are at about $250/kWh, making this battery $125,000!!!and for completness there are 37kWh/gal in diesel fuel so my 40 gal tank is 1.5 MegaWh of energy, show me the battery bank that can compare and not sink the boat due to its weight.
There is a place for an electric motor on a sailboat, though. I am very happy with my Torqeedo outboard, and its battery is only 0.52kWh. I use it to push a 22' boat in and out of the marina on a smallish inland lake. For a bigger boat or even open water, the tech just isn't there yet. That could change in a decade or so as the growing electronic c car market creates demand for better and cheaper batteries.