Here's where you can find those two Sonic tracks:
"This Machine": Sonic Heroes
"All Hail Shadow" (Crush 40): Sonic the Hedgehog (2006)
"All Hail Shadow" (Magni-Fi cover): Lost and Found