Saudi Arabia’s Public Investment Fund said on Monday it had agreed to invest more than $1 billion in Silicon Valley-based Lucid Motors to produce electric vehicles.