Electric vehicle company Lucid to cut its workforce