While tech giants such as Apple and Uber make a public show of opening new Bay Area headquarters, Palantir Technologies -- a software company known for mining confidential data for the National Security Agency, FBI and CIA -- is leasing building after building with little fanfare.