Having been so close to bankruptcy seemed to have tainted their behaviour, that now anything goes to protect what in the end saved them, moreso than in other companies.
No, not “moreso than in other companies” — maximizing profits is something that effectively all companies do.
The difference is that smaller companies can get away with anticompetitive behaviour but there are regulations for market leaders.
What Apple was allowed to do when they were a disrupter is different from what they are allowed to do with a dominant postion in the ecosystem.
PS Saying all companies are greedy and would abuse a market position is not a moral defense of Apple’s behaviour, it’s a defense of antitrust regulations.