From a profit margin perspective they are wildly different. Amazon profits are mostly just AWS. Microsoft is, I think, driven by their enterprise software. Apple is, I think, more hardware and App Store.
I have doubts that Tesla can convert that operating margin to profit margin, which puts them far behind MSFT and AAPL which are tried and true profit margin machines.
We shouldn’t expect them to have similar margins.