Billionaire investor Carl Icahn told CNBC he has sold his Apple position.