It’s bad business practice to put energy towards something that doesn’t serve your mission because you lose focus and discipline.
For the things they do invest in, Apple puts a lot of energy in the user experience because they believe that there are business benefits to doing so. This is true of most well-run companies. Generally speaking, our economic system works out well because the incentives of businesses align with the incentives of the consumer.