As Apple prepares for WWDC 2025, the company must address its AI blunders and rekindle its relationship with developers to stay relevant.