On one hand, the higher end of the embedded world can be replaced by a powerful CPU that can run Linux, and there is not much differences between embedded vs non embedded there. This is the "easy" but not cheap solution.
On the other hand, as always more sensors are needed, and as objects are more connected than ever, the density of micro controller running on a given device is exploding (from automotive to various medical devices).
So all in all, I am not sure that embedded is decreasing.