From 2016 to 2017 they increased the price of the latest generation of MacBook Pros by a couple hundred dollars. It wasn’t so noticeable because they also added some lower spec models to the lineup in 2017. For example, a base non-touchbar 8|256 mbp in 2016 was about $1300, but about $1450 in 2017. Yet you could still get a $1300 model in 2017, it just had half the storage of the 2016 $1300 model at 128GB.
It ticked up a bit recently because of the MacBook Pro with TouchBar; the iMac Pro[1] ships next month at a starting price of $4999; we know there will be a revised Mac Pro[2] in 2018 that will be similarly priced for starters but probably go significantly higher depending on the configuration.
[1] https://www.apple.com/imac-pro/specs/
[2] https://www.macworld.co.uk/news/mac/new-mac-pro-2018-latest-...
So the average selling price and units will continue to increase due to the pent-up demand for pro-level Macs.