Tesla has talked about that. The main issue with swappable batteries is that the whole battery has to be accessible from the bottom or side of the car. This provides design constraints on battery size. Most automakers don't want to compromise on battery size, they want to pack as much battery as possible in the space that's available.
The next biggest issue with swappable batteries is responsibility. If all of the batteries are shared, who pays for a new battery when a battery reaches its end of life? This problem will have to be solved at some point anyway since nobody likes paying $15K+ when their vehicle battery reaches end of life. It would make much more sense to amortize this cost over the life of the vehicle. It would be easy to do that with higher fees of battery swaps, but people don't normally like higher upfront costs even if it works out to the same in the end.