Good analysis. Still, it's just basic math that a $1,998 has a better per-unit margin in dollars than a $629 one, since most manufacturers set margins to be a percentage rather than a number. Even if one averages prices in the roughest way possible, Canon's is $539, whereas Sony's is $935,50, which leads to a considerably higher revenue for the latter.
And then, there's the boatloads of money Sony save with their laser-focused advertising through YT, and body and part recycling - designs like the A6400 and A7M3 were paid off years ago with their predecessors.
If I worked in Canon HQ, I wouldn't be happy - Sony are obviously more competitive in mirrorless than they ever were in DSLRs, and as the global camera market shifts more and more towards the former, Sony will make big inroads in market share.