After years on the stock market’s sidelines, a number of highly valued Silicon Valley companies are gearing up to go public as soon as next year. Among the IPO candidates are ride-sharing companies Uber Technologies and Lyft, and data-mining specialist Palantir Technologies.