The SA were run by Communists, who wanted complete government control of the economy. Hitler, knowing he needed the industrialists on his side to build his war machine, purged them to alleviate their fears.
And he purged the SA to win over the military, who didn’t like the brown-shirted thugs and saw them as a rival paramilitary organization.
So for Hitler it was a win-win-win.