Einstein's equation doesn't have a "proof" because it's not a mathematical theorem. It's a physical theory that is overwhelmingly supported by experimental data.
To understand Einstein's motivation for developing the theory of relativity, as well as mass-energy equivalence, Wikipedia has an excellent article on the history of relativity.