Swedish startup Lovable has hit $400 million in annual recurring revenue, as companies and users flock to artificial intelligence tools that make it easy for beginners to code.