Big miners will not switch to solar power system for mining, as solar panel only works in day time. I most most mining farms move to use hydro power, which is more reliable.
Every solar setup I've seen (rural industries and boats, mostly, some urban, though typically domestic) has used batteries (12/24v DC) because the owners have anticipated not just night time but cloudy days too.
With the inclusion of battery and no subsidy from government, will be solar panel still be a profitable option for mining?
It depends. Solar would be a (mostly) one-off cost - once the miner has invested in a solar system there are no further major costs. Unless the miner owns the hydro plant (which is possible - I've seen small-scale hydro power generation on farms), they'll be looking at regularly recurring costs. But wasn't this part of the discussion about reliability?