Ford, Nissan Motor and US electric vehicle start-up Tesla Motors have been granted low-cost US government loans to develop and build all-electric cars.