Apple is simply imposing such onerous terms that no OEMs can sell iOS. But because (as a result of this anti-competetive behaviour) their market share in the OS market is low, it doesn't break the law.
Then why isn't Google allowed to not sell their software to others to use? Google doesn't want to let Amazon have the Play Store without following conditions, they should have that right.