I would say "There used to be a drive-in cinema where there is now a huge shopping center." It's not as though the drive-in became a shopping center -- it was replaced by a shopping center.
If you must choose between "which" and "what," "which" is better grammatically, although it doesn't make sense logically. "What" does not work here at all.