Elon Musk’s massive bet on batteries is riding on two big if’s