This is listed as known issue and MS is working on it.
- We’re investigating reports that Settings > System > Storage > Temporary files is getting stuck when scanning files. We are also investigating previous Windows Installations also not showing.
You can use old Disk Cleanup tool to delete previous Windows installain files.
Start Disk Clenup and select Clean up system files