OAKLAND, Calif. — Robert F. Kennedy Jr. announced Tuesday that tech lawyer and megadonor Nicole Shanahan would join his independent presidential ticket as his running mate, a move that would provide Kennedy with more ballot access as he pursues his long-shot bid for the White House.