F1's governing body has sacked its head of sustainability, diversity and inclusion amid a restructure.