Because regardless of whether profit is there, they should be able to extract value if they want to.
Second, there's no valid comparison between the A-round valuation of a startup and Amazon, a giant publicly traded company with a decades-long track record and huge cash flows. Mutual and pension fund managers invest in Amazon. To a first approximation, none of those managers directly value startups.