Tesla shares declined more than 3% on Friday, cutting CEO Elon Musk’s fortune by $10 billion after the automaker voted to approve a compensation plan that could award the world’s richest person $1 trillion over the next decade—a move derided by some analysts and shareholders.