Tesla beats Wall Street expectations to produce record number of vehicles