Trump did not threaten the establishment’s interests. The Republican Party establishment would rather win with Trump than lose without him. 
The Democrat Party establishment, meanwhile, would rather lose without Bernie than win with him.