Nikola said on Wednesday it had filed for Chapter 11 bankruptcy protection and would pursue a sale of its assets,…