A massive asteroid will skim past Earth in 2029 in an "extremely rare natural phenomenon" - and a spacecraft will be sent to track it.