Palantir snaps 7-day losing streak as tech investor buys the dip