Saudi Arabia's Public Investment Fund has announced an investment of more than $1 billion in electric carmaker Lucid Motors.