New York, California and other states have vowed to stop US government from asking every American household to record which members of their family are US citizens.