Elon Musk stopped producing value quite a while ago, nowadays all he does is tweet stupid stuff. Meanwhile his net worth has skyrocketed.
Everyone who's ever spent 6 months in big tech knows how easily compensation is divorced from value. Plenty of net-negative, work-creating behavior gets rewarded with big raises.