Macbook often goes to max CPU and then hangs there
I had the exact same issue on my MBP 2017 15", using it with external screens and Mojave 10.14.6. Turned out to be a bug with NightShift (documented here). Turning off NightShift solved the problem.

Maybe this will also help you.