An asteroid that is nearly 3km across passes the Earth at a safe distance, making its closest approach to Earth at 21:59 BST on Friday.