I think an actionable takeaway is: even if the curl/wget/whatever points to a trusted https:// domain, the page you're copying from also needs to be on a trusted https:// domain.
You trust the upstream to provide you with a safe program, but not a safe installer? That makes zero sense, and your link doesn't provide any evidence to the contrary
Yes, you are correct if the application and script are on the same domain. The link is simply an example of a major 'trusted' domain being compromised.
If the program you want to install is included in your distribution's packages then this whole discussion is moot. We are talking about ways of installing from third-party sources.
As opposed to any other installation method? Do you regularly vet the entire source code of software you install?