are bmw and mercedes the same company?
No, not at all. The BMW brand is owned by BMW AG, a German publicly-traded company, whilst the Mercedes-Benz brand is owned by Daimler AG, a German publicly-traded company. The two brands have never crossed paths in terms of ownership and they always have been, and still are, competitors.