Strong investor optimism around AI, services and ecosystem growth lifted the technology giant to an unprecedented valuation milestone during trading