That doesn't mean Canonical gets paid whenever someone spins up an Ubuntu VM. AFAIK there is no public info about Canonical revenue anyway
AWS doesn't necessarily have to pay Canonical for Ubuntu VM's, but if they didn't, they wouldn't be able to use the trademark "Ubuntu".
OVH wasn't paying Canonical, got sued because of it, and had to settle.
Full accounts at https://beta.companieshouse.gov.uk/company/05055134/filing-h...
If they'll make an IPO next year they'll have to tell us how they are making money. Just wait and see.
According to my own personal regression analysis I did many years ago, a company is sustainable with at least $50000 revenue per employee. That's my personal ballpark number.