For the majority of the population in developed countries, and almost all of the population of developing countries, smartphones are the only computer people have or need.
I agree that Apple have shifted focus away from "making tools for people to create things and solve problems" towards consumption-oriented mobile devices. But those devices are still computers, and they're wildly successful.
If Apple devoted their focus to products in proportion to their revenue, then they would be putting 12x as much effort into the iPhone than they would for the entire Mac lineup.