They really didn't. SpaceX is not cheaper than the shuttle no matter how many times it gets repeated. That SpaceX fudges the numbers so it is hard to compare doesn't make it true. In reality SpaceX is more expensive than not only the shuttle but also their own projections.
Here's a breakdown: https://youtu.be/4TxkE_oYrjU