NEW YORK/SAN FRANCISCO (Reuters) - Apple Inc on Thursday confronted its first major challenge from an activist shareholder in years as hedge fund manager David Einhorn's Greenlight Capital filed suit against the company and demanded that it dole out a bigger piece of its $137 billion cash pile to investors.