Marks & Spencer has created a digital lab to experiment with new technologies and appointed Kyle McGinn to lead the new division.