Fear of missing out has rocketed the value of artificial intelligence firms, despite few signs as to when the technology will turn a profit.