palantir secures 8.7% stake in faraday future amid ev startup's struggles