On Bitcoin forks that do not support Segwit, outputs that use Wrapped Segwit scripts (P2SH-P2WSH or P2SH-P2WPKH) can in principle be spent by anyone who knows the inner segwit script hash or pubkey hash. This knowledge is not always limited to the owner of the Bitcoin wallet, meaning that third parties can "harvest" these deposits.
While these transactions are consensus-valid, they are nonstandard and will not be relayed in the network. One has to find a miner that includes these transactions directly.
The owner of a Segwit-capable Bitcoin wallet always knows the hash preimage and can construct a recovery transactions. However, since the recovery transaction does not require any signatures, the miner can simply substitute their own destination address. The process therefore requires a trusted miner.
It is also possible for miners to claim these funds without any direct interaction with the wallet owner. When the wallet owner spends a Wrapped Segwit output on the Bitcoin chain, they reveal the hash preimage for that output to the public. Miners on fork coins can monitor the Bitcoin chain for wrapped-segwit spends, cross-reference the spends with matching output scripts on fork coins, and claim these outputs.