Amazon's self-driving robotaxi unit is being investigated by the U.S. government's highway safety agency after two of its vehicles braked suddenly and were rear-ended by motorcyclists.