Of course the dslr can do more, but the ease that a phone + software can make a wide range of really nice pics is eating into the consumer level dslr market. I like taking pictures, so I don't mind fidgeting on my dslr for the perfect shot. Meanwhile my wife has taken multiple great looking pics on her phone is wondering what I'm doing ;)
It's a great question and I don't know.
What I do know is that I have not bought/used a dedicated camera since about the time smartphones came along. Nor have any of my family members - they all used to have dedicated cameras used to take holiday photos, photos of their children, birthdays and so on. Now they just use their phone.
This must have an effect on the camera manufacturers.
The bar of what smartphone cameras are capable of doing keeps rising, keeps eating into the territory of what previously required a standalone camera.
All these things are competition that eat into profits, which in turn may affect those companies' abilities to produce high end cameras. Eg they may only be able to use cheaper components compared with what they could afford in the past.
Smartphones have destroyed the compact consumer camera market. There is no hyperbole there. Professional cameras? Sales of those are going down also, depending on how you define them of course (SLR is probably appropriate to call "professional")
People who buy that level of camera understand, moreso than the general public, that, for example, an increase from a 36 to a 45 megapixel sensor may be nice, but in the end the photos both cameras produce are still great and whoever sees them in print or exported for the internet would never be able to tell the difference.
I know lots of people who used to carry DSLRs everywhere but who now only carry their iPhone.
Many people do have a number of lenses and use DSLRs for creative control but they may not even be a minority. Heck, I'm a relatively serious amateur photographer and I often don't bother carrying a dedicated camera today if I know I'll just be doing some occasional casual shooting.
Which is what I don't understand. Because, as far as I know, firms should engage in product differentiation as long as it's possible.