There is absolutely no way Apple would build their own foundry. You are talking about a yearly investment of five to ten billion dollars, not to mention how long it'd take to actually make it production ready.
Technical problems aside, Apple's stakeholders would fire the entire board if they approved something like that.