Oil giants are competing to buy battery companies