Macquarie says Amazon will continue to dominate the e-commerce and cloud computing markets in coming years.