You overstate the advantages of technology. Mughal India was fragmented and on a sharp decline. The British used politics, finance, and treachery to divide and conquer what was remaining.