Electric cars and batteries are by no means my area of expertise, but I'd have to believe that the size and weight of the batteries needed for an electric plane would be totally unfeasible for efficient flight. Just for a comparison, a Tesla Model S weighs 4600 pounds, while a BMW 5 series weighs 3900 pounds, so the Tesla is about 20% heavier.
Plus, Jet A (kerosene) is relatively cheap compared to the cost of electricity and batteries.
Finally...imagine the range anxiety of a battery powered 777.