Palantir upgraded to ‘Buy’ by UBS on strong AI and data demand