Nikola Corp. said that its long-range fuel-cell semi truck will get as much as 900 miles on a tank of hydrogen when it comes out in 2024, as the startup works to bolster its position in the increasingly competitive field of zero-emission freight vehicles.