why do people say that?You would need a programmable tuner to do it, and yes..... ANY modification voids the factory warranty.
it's simply not true.
Magnuson-Moss Warranty Act of 1975
The dealer/vehicle manufacturer has the right to deny a warranty repair but they must demonstrate that the aftermarket part caused the problem. The warranty remains in effect for all other covered parts.