Millons of Americans are being warned that claiming benefits at a certain age could cost them a fortune in retirement.