you can now extract (like mining) minerals from the ocean, sounds kind of dangerous for the ecosystem maybe? making it profitable to extract magnesium, lithium, salt... we can probably guess how this story goes.
You're worried we might use all the salt in the sea for some kind of ... salt pyramids, send the water back out through sewers, and consequently leave the world's oceans diluted? That's about 1 followed by 21 zeroes, I think, in liters.
Right, remove the salt and minerals. We don't need that much salt, so we'd have to build pyramids or something with it. We drink the water, but then it ends up back in the oceans. The reason I mention that part is because if it didn't, if we could destroy the water, then the remaining water would retain the same salinity, and the concern would be that we drain the ocean dry, which is silly (I refer you back to how big it is). But we don't destroy water when we use it, so instead the worry is that we dilute all the world's ocean, which is also silly (I again refer you back to how big it is). We need a lot of batteries, but the sea is not useful as a source of lithium except as a byproduct. Even if it was the only source, the old batteries themselves would soon become a better source, as concentrated stores of lithium compared to the very-much-not-concentrated lithium in the ocean. But anyway the good places to mine lithium are on land (and are dried-up bits of ancient ocean, I think).
It's also possible - true, I bet - that all the car batteries and storage batteries 8 billion people could possibly use are equivalent to only a tiny fraction of all the lithium in the ocean, but it would be harder arithmetic to confirm that, as well as being irrelevant on account of land-based mines existing.
You're wildly underestimating the scale of the ocean. If we could extract all our necessary minerals from it rather than mining them that would alleviate a huge cause of environmental damage.
i'm hoping it doesn't scale, honestly.