Private credit firms led by Apollo Global Management Inc. and Blackstone Inc. are providing $4 billion in loans to support Thoma Bravo’s acquisition of Boeing Co.’s flight navigation unit and other digital assets, according to people familiar with the deal.