Apple is focusing on max net income. The iPhone X has nearly twice the margin as the 8 so they only need to sell half as many as the 7 to make the same revenue.
There is no evidence to support the claim that the margins are double. Current evidence suggests that it is only marginally higher - http://fortune.com/2017/09/18/apple-iphone-x-margins/