Apple's new iPhone 18 Pro faces rising costs and an unwelcome price rise. How is Apple re-organising its software and services to preserve iPhone margins?