165mm cranks are essentially standard on DH bikes due to the low bottom brackets and high sag numbers. I've run 165's on my DH bikes since the 90's. Even with 165mm cranks, I still get a lot of pedal strikes.
Otherwise, for bikes designed for pedaling, crank length is usually determined by leg length - shorter for short folks, long for tall folks. 175mm is a pretty typical compromise between torque length, clearance and being spin-friendly. I remember running 180mm cranks on my old single speed bike to get a bit more torque, but I don't know if that is still a common thing today (me knees and single speeds don't get along). I run 172.5 on my road bike as I'm usually trying to spin more than I do on a mtn bike.
Personally, I see no benefit at all to running shorter cranks on a trail bike or enduro bike. Especially not a hardtail. That said, from my previous DH racing experience on a super-low bottom-bracket bike, pedal strikes don't bother me. I get a few on pretty much every ride. Somehow I usually ride through them.