Yes, people are investing to speculate on its price, but they are also investing because it has a fixed supply that cannot be inflated away by governments.
Take a look at the U.S. M2 money supply YTD and the DXY and consider what happens next as more wealthy investors begin to recognize this advantage inherent in Bitcoin.