Although I don't know if the very well-engineered DJI is less efficient than the Bosch, there is some evidence that it is, even when power matched. I mean just anecdotally, I keep reading things along the lines of "I did 4k' and used 85% of an 800 watt DJI battery...' That's hungry! The high pivot e-bikes increase the battery useage further.
For example, this standardized testing indicates the DJI is considerably more battery hungry, and at the standardized pedal power input and the cadence used, the old Bosch actually climbed faster. I think the DJI is much faster when low cadence is used, but less so at higher cadences and high rider power input.
For the biggest group test in our history, we tested 27 of the hottest e-mountainbikes, packed it with clear insights.
ebike-mtb.com
But I just wanted to point out that there can be some pretty large swings in efficiency between different electric motors.
Here is a review comparing the Fazua 60 in a Relay & the TQ HP50 in a Trek Exe, on a standard climb and using watt power measuring pedals to measure rider input and keep it consistent.
What's relevant is that the F60 used 39 battery wh per climb, where-as the TQ HP50 used 54 wh per climb, while also going slower! That means that the TQ is 38% less efficient even when not adjusted for the speed advantage the F60 had! That's a lot.