Because together they make long sessions far more comfortable, and comfort is most of what good equipment actually buys you.
A gaming keyboard generally offers responsive keys and better rollover, so simultaneous inputs register properly — which matters in anything fast. A decent chair supports your back through a three-hour session rather than leaving you shifting position every ten minutes.
Neither makes you better at a game. They just remove the distractions that stop you enjoying it.