Tech giants face a severe memory chip shortage. Companies are considering building their own chip factories. This crunch is expected to worsen, affecting everything from smartphones to cars.