Amazon's AI chip ambitions face profitability headwinds.