Juul Labs said it secured a financial lifeline as it aims to cut jobs and operating costs in a bid to avoid bankruptcy.