US and Britain banned large electronic devices on board flights from up to a dozen Middle East nations.