Apple’s battle for control with Amazon