An asteroid the size of a football pitch will zoom past Earth on Friday, coming close enough for Nasa to issue a warning.