The deal with Walmart heightens the rivalry between Affirm and Klarna, two of the world's biggest BNPL players, just as Klarna is set to go public.