If a mobile game is profitable it doesn't divert net assets from WoW, it just expands the business. There isn't some fixed size pool of developers they have to allocate to the projects. They can hire, or fire, as necessary.
WoW's problems are internal to WoW, and to its relationship to the evolving market. At worst, development of mobile games is a symptom of those problems, not a cause.