Because it's a tradeoff between the hassle and the price of the equipment. To make good coffee yourself, you need to either pay a lot for a good machine, or have to use equipment that's more of a hassle to use and clean. Coffee from a shop, even the big chains, is good (not exceptional, but far from offensive), constant and there's no cleanup or setup.