Newsom signed a sweeping housing bill Friday that will permit mid-rise apartments to be built near busy transit stops.