Not really a good analogy because Walmart mostly purchases goods to resell them^1^, while Facebook does not purchase news. Even so, if Walmart suddenly stopped selling Canadian goods it could lead to a lawsuit too. CBC is not trying to force Facebook to accept CBC links, it's about all Canadian outlets.
^1^ well, except on their 3rd party marketplace, but we all know this is not what the analogy is talking about