Online lender Social Finance Inc. is nearing a deal to raise $500 million in fresh funds from an investor group led by private-equity firm Silver Lake, according to people familiar with the matter.