The acquisition would expand the British grocery store chain’s online business and make it less reliant on food sales.