Nikola to pause production, cut costs after quarterly loss