Somehow I think Apple can muster the resources to respond to vulnerabilities in exactly the same way you’re claiming they respond to open source exploitation. You may have a point with much smaller projects, but this is apple and they can easily outfund exploiters before there’s mass exploitation according to your analysis of increased attention.
Your argument that somehow Apple will do better than these black hat guys is also flawed. Apple can higher N security experts but Apple will always unlikely to match in number of firms and state agencies who can hire M >> N in aggregate. Think of Apple running centralize effort with N people while whole world running distributed attack every day every hour with 10X more eyes and time on hand. Also it has been very well understood within security professionals that source code gets far more scruitiny from black hat then white hat guys.
Finally, remember that people don't update their systems for months and even years. You should know that Bezos iPhone was hacked by an exploit developed by a black hat firm which ultimately cost him $40B in divorce. Think about that for a second. A single software vunerability cost was $40 billion, more than market cap of many companies and GDPs of many countries. This is a guy who literally owns huge chunk of public and private infrastructure, has the best of the best security experts at his finger tips and he got hacked.
One might think that opening the source will lead to code reviews by many and fix security bugs. In my own experience with open sourcing few projects, I've not seen that happening. Vast majority of contributors aren't willing to spend a lot of time in reviewing security issues and fixing for you. In fact, virtually all contributors will send you patches that are often half assed and have security issues which you might unknowingly accept because all tests are passing, you don't have much time and in code reviews everything look ok. For things like iMessage, I suspect billions of dollars worth of important decisions are made by everyone from Jeff Bezos to the President of USA. In my opinion, open sourcing something like this would give a handsome payday to many black hat hacking groups including state owned agencies.