South Korea has experimented more with this idea than anywhere else, I believe. They have used electric powered buses and charging cables embeded in the roadway. The problem seen so far in their work is the cost of the idea. There are initial savings in the idea requires less battery power on board the vehicle. But that savings is far less than the much greater cost of the buried charging cable system, versus any standard traditional EV charging system.
What happens if I am standing on or walking across the roadway while it is raining in a lightning storm?