Apple has banned developers from submitting cryptocurrency mining apps designed for the iPhone or iPad.