Well 50J may go to Neptune......lol ultimately because heat is transferred off the ball from friction and is released into the atmosphere. Some of earths heat is then lost into space - and ultimately minute amounts may make it all the way to Neptune

. As far as your last question - newtons 2nd law.