DeepGreen Metals Inc., which plans to produce metals used in electric-vehicle batteries, is in talks to go public through a merger with Sustainable Opportunities Acquisition Corp. (SOAC), a blank-check company, according to people with knowledge of the matter.