Software engineering attracts investors but making money from generative artificial intelligence still eludes many