A hyperloop, the super-fast transit system dreamed up by Elon Musk, was envisioned as a way to get passengers from Los Angeles to San Francisco in minutes instead of hours. But it could also transport tens of thousands of cargo containers from L.A.’s ports to inland distribution centers and rail...