“I have always wondered how they achieve that.”
ballast ... the same way it’s been done for hundreds of years ...
That has got to be true. They probably also use plastic and aluminum for most things above the waterline. I have never been curious enough to investigate carefully.