BMW warns of pandemic risks as third-quarter profit rebounds