Apple single-handedly killed off the Safari extensions ecosystem for extremely dubious reasons. It would be inaccurate to say that they have locked down macOS to Mac App Store-only apps, but even if you ignore the embedded platforms the concerns about locking down macOS are extremely founded even as Apple repeatedly says they aren't trying to do this.