Amazon is becoming a 'profit machine', says market analyst