Why not? They are going out of their war to produce movies and build cars, some more reasonable to compete in Office software where 1 company is dominating 90% of the market especially when you have a product in the same field.
Apple has a mountain to climb in terms of iWork. Most of the professional industry in this domain is using Microsoft Office / Google products, and cross compatibility is a must for all platforms. For Apple to compete in this space, they need to not only support non-Apple OS but also offer equivalent features across the board. They have historically stumbled in horizontal expansion in application software. The ROI on this for growth is probably not as significant compared to the other 2 industries you’ve mentioned