Tesla and SpaceX confirmed plans for Terafab, a Texas mega factory set to become the largest building on Earth.