BMW and Hyundai are discussing an alliance to develop engines and share other technology, a German report said.