BMW profit drops amid tech push and as luxury crown shifts to rival