In answering this question, it's important not only to consider the upfront expenditure, but the total lifetime cost of a system. Gravity batteries are mechanical contraptions, and as such, they can break. Maybe a cable snaps, or a gearbox jams, or a patch of rust appears.