Use this custom code to remove elementor and upload unit type
add_filter('wplms_course_creation_tabs',function($tabs){
$types = $tabs['course_curriculum']['fields'][0]['curriculum_elements'][1]['types'];
$ntypes = [];
foreach ($types as $key => $type) {
if(!($type['id'] == 'elementor' || $type['id'] == 'upload')){
$ntypes[] = $type;
}
}
$tabs['course_curriculum']['fields'][0]['curriculum_elements'][1]['types'] = $ntypes;
return $tabs;
},999);
Add this code to your customizer plugin. And make sure the plugin is active.