The reason for the Gigafactory is to compress supply chains, but more importantly because there isn't enough global demand/supply for batteries to support the volumes Tesla wants. Without building their own factory, the global supply would be a constraining factor for Tesla's plans. The Gigafactory is a long-term bet that they will need that much supply in the future. This is not a problem that other carmakers have where they would want to "vertically integrate" oil refineries and gas stations, because availability of gasoline is not a problem.