Elon Musk`s SpaceX to lay off about 10 percent of its workforce, says a source