Chip designer reaches $1 trillion market value as artificial intelligence lights fire under share price