M&S says sorry after a backlash claiming its advert depicted Palestinian flag colours in flames.