The US-UK ban on selected electronic devices from the passenger cabins of flights from some countries in north Africa and the Middle East was partly prompted by a previously undisclosed plot involving explosives hidden in a fake iPad, according to a security source.