Electric-truck maker Nikola laying off 270 employees