Tesla bets its patents on a vision of a battery-powered future