SpaceX to lay off 10% of workforce