As someone mentioned, the app store started without a 30% cut so they also baited and switched. The only difference is that Apple won the case because Justice works like that. Different judges and it would have lost too.
Except the App Store was announced 16 years ago and the 30% cut was definitely part of the announcement. There’s a whole slide with Steve Jobs discussing it 3 minutes in. The other commenter was mistaken.