That’s completely wrong. You would never say “the US dollar has crashed compared to Microsoft stock“. That’s a dumb comparison to compare a currency to an investment. The dollar has been mostly stable the past 10 years. A gallon of milk is still around $3.50
The value of cash dollars changes all the time. You just don't notice it because you pay for everything in the same dollar denomination. But when everything gets more expensive year by year that's your dollar devaluing. CPI is one measure of that.