This has nothing to do with warez or pirated movies.
For over a year, Minecraft shipped for the Mac without being properly signed for Gatekeeper. Their official support article said the only way to get it to work is to turn the feature off (disable binary signatures system-wide) - probably because they didn't want to explain to people what right-clicking was.
I'm unsure if this was due to lethargy, lack of wanting to pay $99/yr to have their $2.5 bil product have a proper software signing key, or an ongoing technical issue. But they in no way explained to users what the ramifications of this change was, and the typical user making the change was likely a kid.
If Apple provides a way for a company (I'll pick on Spotify here as a likely example) to ship their app without having to play by the rules of the App Store, it will quickly become the only way to get the app. The only way the users will be able to get the functionality they want on their phone would be to disable the security protections and side-load. And historically, companies have dismissed the ramifications to the user of doing this ("Hit 'Ok' on the dialog which is displayed")
Companies like Amazon has a whole third party store based on exploiting what is often referred to in Android as a "developer mode". I see zero likelihood Apple will make it possible for a side loading feature compatible with mass distribution without government pressure. If you don't care about distribution but just want to build and load an app on your personal phone, thats already possible and does not require any fees or paid tools (assuming you have a Mac).
Of course, this App Store is also the central authority which would allow Telegram to take down fake apps which are there to confuse users and potentially provide vectors for things like ransomware and surveillance by state actors.