Tesla Inc. sold $837 million of bonds backed by auto leases Friday, taking advantage of a rebound in investors’ sentiment toward the company to provide further support to its fast-growing leasing operation.

Tesla’s decision to sell the auto-lease bonds comes amid a spate of volatility in debt markets and during a year-end period when many investors lose interest in buying new securities.

Yet...