A data-center developer sold $999 million of junk bonds for a project leased to a SoftBank Group Corp. subsidiary, capping April’s surge of debt issuance to help fund artificial intelligence efforts amid some concerns that such spending won’t pay off.