Palantir Technologies shares climbed 9% as Bank of America analysts projected a 50% upside for the AI software firm. The rally followed robust second-quarter earnings and significant losses for bearish investors forced to cover short positions.