Consumers are pushing back against the rising costs of fast food, prompting some of the biggest chains to introduce ways for customers to save.