Given that almost all the major bike manufacturers that make e-bikes have a carbon model, it can't be that tall an order. Of course most of the carbon models are e-mtb's, but that is only because that is where most of the money is going to be made.
So you don't think Trek, Specialized, Giant, Shimano, SRAM, etc. have engineers as qualified as those that work in the automotive industry?
BTW, Yamaha has entered the e-bike market. Their first road bike is nice, but not groundbreaking in any way. It certainly is not lighter than say a Focus Paralane² or Orbea Gain.
Carbon is very complex. I think the issue for bike companies, unlike automotive, is the financial cost. Car companies have the resources to invest in elaborate processes and exotic materials.
Here's a snippet.
https://www.bicycling.com/bikes-gear/a20022549/carbon-fiber-bike-construction/
Pieces of the Puzzle
For engineers, building a carbon frame is like putting together an intricate 3-D jigsaw puzzle. Bikes can have hundreds of pieces, assembled in 40 or more layers. To get it right, designers rely on computer software called Finite Element Analysis (FEA), which helps them determine where they should use each grade of carbon and how best to orient the pieces for the ideal mix of strength, stiffness, and compliance. Without leaving their desks, engineers can go through hundreds of variations an hour until they strike the right balance. A high-performance bike like Specialized's Venge, shown, requires about 400 individual pieces of carbon. Each color represents a different thickness of the carbon tubes.